_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
Session Class Reference

#include <netdriver.h>

Public Member Functions

 Session ()
 

Public Attributes

SessionNext
 
SessionPrev
 
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...
 
GameDataGame
 Specific user data. More...
 

Detailed Description

Session data

One per connection.

Constructor & Destructor Documentation

Session::Session ( )
inline

Member Data Documentation

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]

The documentation for this class was generated from the following file:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.