CAsyncSocket::OnSend

virtual void OnSend( int nErrorCode );

Parameters

nErrorCode

The most recent error on a socket. The following error codes apply to the OnSend member function:

Remarks

Called by the framework to notify the socket that it can now send data by calling the Send member function.

 For more information, see the article Windows Sockets: Socket Notifications in Visual C++ Programmer's Guide.

CAsyncSocket OverviewClass MembersHierarchy Chart

See Also   CAsyncSocket::GetLastError, CAsyncSocket::OnAccept, CAsyncSocket::OnClose, CAsyncSocket::OnConnect, CAsyncSocket::OnOutOfBandData, CAsyncSocket::OnReceive, CAsyncSocket::Send