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

Session Class Reference

#include <netdriver.h>

List of all members.


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

Detailed Description

Session data

One per connection.


Constructor & Destructor Documentation

Session::Session (  )  [inline]


Member Data Documentation

char Session::Buffer[1024]

time_t Session::Idle

unsigned long Session::Host

char Session::IPStr[16]

struct { ... } Session::AddrData

char Session::Name[MAX_USERNAME_LENGTH+1]

char Session::GameName[MAX_GAMENAME_LENGTH+1]

char Session::Version[MAX_VERSION_LENGTH+1]

struct { ... } Session::UserData

Remote address data.

Specific user data.


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