This method is called by the framework to notify the socket that its connection attempt has completed, whether successfully or in error. Override this method if to do some special processing.
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 |
virtual void OnConnect( int nErrorCode );
CAsyncSocket::Connect, CAsyncSocket::OnAccept, CAsyncSocket::OnClose, CAsyncSocket::OnOutOfBandData, CAsyncSocket::OnReceive, CAsyncSocket::OnSend