_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <net_lowlevel.h>
Public Member Functions | |
| SocketSet () | |
lowlevel.cpp - The network lowlevel. | |
| void | AddSocket (Socket socket) |
| void | DelSocket (Socket socket) |
| int | Select (int timeout) |
| Wait for socket set ready. More... | |
| int | HasDataToRead (Socket socket) const |
| Check if a socket in a socket set is ready. More... | |
|
inline |
| void SocketSet::AddSocket | ( | Socket | socket | ) |
Add a socket to a socket set
| socket | Socket to add to the socket set |
| void SocketSet::DelSocket | ( | Socket | socket | ) |
Delete a socket from a socket set
| 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.
| socket | Socket to check |
| int SocketSet::Select | ( | int | timeout | ) |
Wait for socket set ready.
Wait for socket set ready.
| timeout | Timeout in 1/1000 seconds. |
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.