virtual void OnAccept( int nErrorCode );
Parameters
nErrorCode
The most recent error on a socket. The following error codes applies to the OnAccept member function:
Remarks
Called by the framework to notify a listening socket that it can accept pending connection requests by calling the Accept member function. For more information, see the article Windows Sockets: Socket Notifications in Visual C++ Programmer's Guide.
CAsyncSocket Overview | Class Members | Hierarchy Chart
See Also CAsyncSocket::Accept, CAsyncSocket::GetLastError, CAsyncSocket::OnClose, CAsyncSocket::OnConnect, CAsyncSocket::OnOutOfBandData, CAsyncSocket::OnReceive, CAsyncSocket::OnSend