CAsyncSocket::OnClose

This method is called by the framework to notify this socket that the socket to which it was connected was closed by its process.

At a Glance

Header file: Afxsock.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

virtual void OnClose( int nErrorCode );

See Also

CAsyncSocket::Close, CAsyncSocket::OnAccept, CAsyncSocket::OnConnect, CAsyncSocket::OnOutOfBandData, CAsyncSocket::OnReceive, CAsyncSocket::OnSend