CEventSocketSet is a CEventSocket container class for handling sockets in an ordered fashion.
Public Member Functions | |
bool | Add (CEventSocket *socket_ref) |
Adds an existing socket to the socket set. | |
bool | Remove (int index, int count) |
Removes selected sockets from the set. | |
bool | Remove (int index) |
Removes a selected socket from the set. |
bool net::CEventSocketSet::Add | ( | CEventSocket * | socket_ref | ) |
Adds an existing socket to the socket set.
socket_ref | A pointer to a CEventSocket object |
bool net::CEventSocketSet::Remove | ( | int | index, | |
int | count | |||
) |
Removes selected sockets from the set.
index | The index id of the socket to remove from the set | |
count | The number of CEventSockets to remove from the set |
bool net::CEventSocketSet::Remove | ( | int | index | ) |
Removes a selected socket from the set.
index | The index id of the socket to remove from the set |