CSocket::OnMessagePending
virtualBOOLOnMessagePending();
Return Value
Nonzero if the message was handled; otherwise 0.
Remarks
Override this member function to look for particular messages from Windows and respond to them in your socket. This is an advanced overridable.
The framework calls OnMessagePending while the socket is pumping Windows messages to give you an opportunity to deal with messages of interest to your application. For examples of how you might use OnMessagePending, see the article in Visual C++ Programmer’s Guide.
For more information, see and related articles in Visual C++ Programmer’s Guide. Also see in the Win32 SDK documentation.