#include <SocketSet.h>
Public Member Functions | |
SocketSet () | |
Public constructor. | |
virtual | ~SocketSet () |
Virtual destructor. | |
common::ErrorCodeType | Init (int maxSockets) |
Initializes socket set. | |
common::ErrorCodeType | Add (TcpSocket &rSocket) |
Adds socket. | |
common::ErrorCodeType | Remove (TcpSocket &rSocket) |
Removes socket. | |
Private Attributes | |
SDLNet_SocketSet | m_SocketSet |
Private SDL_net data. |
SocketSet | ( | ) |
Public constructor.
~SocketSet | ( | ) | [virtual] |
Virtual destructor.
common::ErrorCodeType Init | ( | int | maxSockets | ) |
Initializes socket set.
Failure otherwise.
maxSockets | Maximum number of sockets. |
common::ErrorCodeType Add | ( | TcpSocket & | rSocket | ) |
Adds socket.
Failure otherwise.
rSocket | Socket to be added. |
common::ErrorCodeType Remove | ( | TcpSocket & | rSocket | ) |
Removes socket.
Failure otherwise.
rSocket | Socket to be removed. |
SDLNet_SocketSet m_SocketSet [private] |
Private SDL_net data.
Navigation
Home Page
Screen Shots
Developers
Documentation
Doxygen
Namespace List
Class List
Class Hierarchy
File List
Todo List
Links
SDL Library
License
SourceForge Project
Forums
Download
Regimental Command
Copyright © 2008
Randi J. Relander