#include <net_lowlevel.h>
void SocketSet::AddSocket |
( |
Socket |
socket | ) |
|
Add a socket to a socket set
- Parameters
-
socket | Socket to add to the socket set |
void SocketSet::DelSocket |
( |
Socket |
socket | ) |
|
Delete a socket from a socket set
- Parameters
-
socket | Socket to delete from the socket set |
int SocketSet::HasDataToRead |
( |
Socket |
socket | ) |
const |
Check if a socket in a socket set is ready.
Check if a socket in a socket set is ready.
- Parameters
-
- Returns
- Non-zero if socket is ready
int SocketSet::Select |
( |
int |
timeout | ) |
|
Wait for socket set ready.
Wait for socket set ready.
- Parameters
-
timeout | Timeout in 1/1000 seconds. |
- Returns
- 1 if data is available, 0 if not, -1 if failure.
The documentation for this class was generated from the following files:
(C) Copyright 1998-2012 by The