#include <Listener.h>
Inheritance diagram for OW32::CMessageListener:
Public Member Functions | |
CMessageListener (CListenerCallback *pCallback) | |
Construct the listener with the given callback. | |
void | onAcceptCompletion (BOOL bRet) |
CAsyncSocketCallback override for FD_ACCEPT notification. | |
int | Accept () |
Begin accepting connections. | |
virtual int | GetAddresses (sockaddr_in **local_addr, sockaddr_in **remote_addr) |
Get the addresses following an onAcceptCompletion notification. | |
operator SOCKET () | |
extractor for the listening socket |
|
Construct the listener with the given callback.
|
|
Get the addresses following an onAcceptCompletion notification.
Implements OW32::CListener. |