#include <IoCompletionListener.h>
Inheritance diagram for OW32::CIoCompletionListenerAcceptEx:
Public Member Functions | |
CIoCompletionListenerAcceptEx (CIoCompletionListener *listener, CIoCompletionListenerCallback *callback) | |
Construct a new IOCP based AcceptEx handler. | |
virtual void | OnIoCompletion (BOOL bRet, DWORD dwBytes, LPOVERLAPPED lpOS) |
The AcceptEx() completion function. | |
void | getAddresses (sockaddr_in **local_address, sockaddr_in **remote_address) |
Get the addresses following an onAcceptCompletion notification. | |
CIoCompletionListener * | getListener () const |
Return the parent listener. | |
SOCKET | detachAcceptedSocket () |
Detach and return the accepted socket. | |
int | post (SOCKET sListen) |
Post an AcceptEx(), called by CIoCompletionListener. |
|
Construct a new IOCP based AcceptEx handler.
|
|
Detach and return the accepted socket.
|
|
Get the addresses following an onAcceptCompletion notification.
|
|
The AcceptEx() completion function.
Implements OW32::CIoCompletion. |