Pyrogenesis
trunk
|
Network client/server sessions. More...
#include "network/fsm.h"
#include "network/NetFileTransfer.h"
#include "network/NetHost.h"
#include "ps/CStr.h"
#include "scriptinterface/ScriptVal.h"
Go to the source code of this file.
Classes | |
class | INetSession |
Interface for sessions to which messages can be sent. More... | |
class | CNetClientSession |
The client end of a network session. More... | |
class | CNetServerSession |
The server's end of a network session. More... | |
Variables | |
const u32 | NETWORK_WARNING_TIMEOUT |
Report the peer if we didn't receive a packet after this time (milliseconds). More... | |
const u32 | MAXIMUM_HOST_TIMEOUT |
Maximum timeout of the local client of the host (milliseconds). More... | |
Network client/server sessions.
Each session has two classes: CNetClientSession runs on the client, and CNetServerSession runs on the server. A client runs one session at once; a server typically runs many.
const u32 MAXIMUM_HOST_TIMEOUT |
Maximum timeout of the local client of the host (milliseconds).
const u32 NETWORK_WARNING_TIMEOUT |
Report the peer if we didn't receive a packet after this time (milliseconds).