#include <AsyncSocket.h>
Inheritance diagram for OW32::CAsyncConnectionThread:
Public Member Functions | |
virtual BOOL | postTerminate () |
Initiate a shutdown of the connection thread. | |
virtual BOOL | terminate () |
Initiate shutdown, and wait for exit of the connection thread. | |
virtual BOOL | initialise () |
Create the thread and wait for it to be ready to work. | |
virtual unsigned int | Run () |
The thread run function to be overriden by the derived class. |
Can be used, e.g. where you want to use IOCP but are making outgoing connections on NT4/w2k, which have no ConnectEx support. ConnectEx is automatically used if present (XP/2003+).
|
Create the thread and wait for it to be ready to work.
|
|
Initiate a shutdown of the connection thread. You need to wait for it to exit as standard. |
|
The thread run function to be overriden by the derived class.
Implements OW32::CThread. |
|
Initiate shutdown, and wait for exit of the connection thread.
|