_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <netsockets.h>
Public Member Functions | |
CHost () | |
CHost (unsigned long ip, int port) | |
unsigned long | getIp () const |
int | getPort () const |
bool | operator== (const CHost &rhs) const |
bool | operator!= (const CHost &rhs) const |
netsockets.cpp - TCP and UDP sockets. | |
CHost (const char *name, int port) | |
std::string | toString () const |
bool | isValid () const |
|
inline |
CHost::CHost | ( | const char * | name, |
int | port | ||
) |
|
inline |
|
inline |
|
inline |
bool CHost::isValid | ( | ) | const |
|
inline |
|
inline |
std::string CHost::toString | ( | ) | const |