[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SDLNet_SocketSet SDLNet_AllocSocketSet(int maxsockets)
Create a socket set that will be able to watch up to maxsockets number of sockets. The same socket set can be used for both UDP and TCP sockets.
Returns: A new, empty, SDLNet_SocketSet. NULL is returned on errors, such as out-of-memory.
|
See Also:
3.6.2 SDLNet_FreeSocketSet,
3.6.3 SDLNet_AddSocket,
4.5 SDLNet_SocketSet,
4.3 UDPsocket,
4.2 TCPsocket