#include <master.h>
| CMetaClient::CMetaClient |
( |
| ) |
|
|
inline |
| CMetaClient::~CMetaClient |
( |
| ) |
|
| void CMetaClient::Close |
( |
| ) |
|
Close Connection to Master Server
- Returns
- nothing
| int CMetaClient::GetLastRecvState |
( |
| ) |
|
|
inline |
| int CMetaClient::GetLogSize |
( |
| ) |
|
|
inline |
| int CMetaClient::Init |
( |
| ) |
|
Initialize the TCP connection to the Meta Server and send test ping to it.
- Returns
- -1 fail, 0 success.
| int CMetaClient::Recv |
( |
| ) |
|
Receive reply from Meta Server
- Returns
- error or number of bytes
| int CMetaClient::Send |
( |
const std::string |
cmd | ) |
|
Send a command to the meta server
- Parameters
-
- Returns
- -1 if failed, otherwise length of command
| void CMetaClient::SetMetaServer |
( |
const std::string |
host, |
|
|
const int |
port |
|
) |
| |
Set the metaserver to use for internet play.
- Parameters
-
| host | Host to connect |
| port | Port to use to connect |
The documentation for this class was generated from the following files:
(C) Copyright 1998-2012 by The