CSocketSet is a CSocket container class for handling sockets in an ordered fashion.
Public Member Functions | |
bool | Add (CSocket *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::CSocketSet::Add | ( | CSocket * | socket_ref | ) |
Adds an existing socket to the socket set.
socket_ref | A pointer to a CSocket object |
bool net::CSocketSet::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 CSockets to remove from the set |
bool net::CSocketSet::Remove | ( | int | index | ) |
Removes a selected socket from the set.
index | The index id of the socket to remove from the set |