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

CNetworkHost Class Reference

#include <netconnect.h>

List of all members.


Public Member Functions

netconnect.cpp - The network high level connection code.
unsigned char * Serialize () const
void Deserialize (const unsigned char *p)

Static Public Member Functions

static size_t Size ()

Public Attributes

uint32_t Host
uint16_t Port
 Host address.
uint16_t PlyNr
 Port on host.
char PlyName [NetPlayerNameSize]
 Player number.

Detailed Description

Network systems active in current game.

Member Function Documentation

unsigned char * CNetworkHost::Serialize (  )  const

void CNetworkHost::Deserialize ( const unsigned char *  p  ) 

static size_t CNetworkHost::Size (  )  [inline, static]


Member Data Documentation

Host address.

Port on host.

char CNetworkHost::PlyName[NetPlayerNameSize]

Player number.


The documentation for this class was generated from the following files:
(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.