_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <netdriver.h>
Public Member Functions | |
| Session () | |
Public Attributes | |
| Session * | Next |
| Session * | Prev |
| char | Buffer [1024] |
| time_t | Idle |
| Socket | Sock |
| struct { | |
| unsigned long Host | |
| char IPStr [16] | |
| int Port | |
| } | AddrData |
| struct { | |
| char Name [MAX_USERNAME_LENGTH+1] | |
| char GameName [MAX_GAMENAME_LENGTH+1] | |
| char Version [MAX_VERSION_LENGTH+1] | |
| int LoggedIn | |
| } | UserData |
| Remote address data. More... | |
| GameData * | Game |
| Specific user data. More... | |
Session data
One per connection.
|
inline |
| struct { ... } Session::AddrData |
| char Session::Buffer[1024] |
| GameData* Session::Game |
Specific user data.
| char Session::GameName[MAX_GAMENAME_LENGTH+1] |
| unsigned long Session::Host |
| time_t Session::Idle |
| char Session::IPStr[16] |
| int Session::LoggedIn |
| char Session::Name[MAX_USERNAME_LENGTH+1] |
| Session* Session::Next |
| int Session::Port |
| Session* Session::Prev |
| Socket Session::Sock |
| struct { ... } Session::UserData |
Remote address data.
| char Session::Version[MAX_VERSION_LENGTH+1] |
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.