____                _       __
    / __ )____  _____   | |     / /___ ___________
   / __  / __ \/ ___/   | | /| / / __ `/ ___/ ___/
  / /_/ / /_/ (__  )    | |/ |/ / /_/ / /  (__  )
 /_____/\____/____/     |__/|__/\__,_/_/  /____/

       A futuristic real-time strategy game.
          This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project. Distributed under the "GNU General Public License"

SocketSet Struct Reference

#include <net_lowlevel.h>

List of all members.

Public Member Functions

 SocketSet ()
void AddSocket (Socket socket)
void DelSocket (Socket socket)

Public Attributes

std::vector< SocketSockets
std::vector< int > SocketReady
Socket MaxSockFD


Detailed Description

Definition at line 104 of file net_lowlevel.h.


Constructor & Destructor Documentation

SocketSet::SocketSet (  )  [inline]

Definition at line 105 of file net_lowlevel.h.


Member Function Documentation

void SocketSet::AddSocket ( Socket  socket  ) 

Add a socket to a socket set

Parameters:
socket Socket to add to the socket set

Definition at line 720 of file lowlevel.cpp.

References MaxSockFD, SocketReady, and Sockets.

void SocketSet::DelSocket ( Socket  socket  ) 

Delete a socket from a socket set

Parameters:
socket Socket to delete from the socket set

Definition at line 734 of file lowlevel.cpp.

References MaxSockFD, SocketReady, and Sockets.


Member Data Documentation

std::vector<Socket> SocketSet::Sockets

Definition at line 110 of file net_lowlevel.h.

Referenced by AddSocket(), and DelSocket().

std::vector<int> SocketSet::SocketReady

Definition at line 111 of file net_lowlevel.h.

Referenced by AddSocket(), and DelSocket().

Definition at line 112 of file net_lowlevel.h.

Referenced by AddSocket(), and DelSocket().


The documentation for this struct was generated from the following files:

Generated on Sat Feb 21 00:28:25 2009 for Bos Wars by  doxygen 1.5.6