![]() |
XTL
0.1
eXtended Template Library
|
Polling behavior policy. More...
Public Member Functions | |
template<typename... _ArgTs> | |
polling_socket (_ArgTs &&...oArgs) | |
ctor | |
void | poll (int Timeout) |
begins polling the socket for events for a period of Timeout | |
Data Fields | |
callback< void()> | disconnect_event |
callback event fires when socket becomes disconnected | |
callback< void()> | error_event |
callback event fires when an error occurs | |
callback< void()> | read_event |
callback event fires when data is ready to read data | |
callback< void()> | write_event |
callback event fires when socket is ready to write data | |
Polling behavior policy.
Definition at line 326 of file socket.hpp.