#include "netpuncher/C4PuncherPacket.h"
#include "network/C4Client.h"
#include "network/C4InteractiveThread.h"
#include "network/C4NetIO.h"
#include <atomic>
Go to the source code of this file.
Classes | |
class | C4Network2IO |
struct | C4Network2IO::AutoAccept |
class | C4Network2IOConnection |
struct | C4Network2IOConnection::PacketLogEntry |
class | C4PacketPing |
class | C4PacketConn |
class | C4PacketConnRe |
class | C4PacketFwd |
class | C4PacketPostMortem |
Enumerations | |
enum | C4Network2IOProtocol { P_UDP , P_TCP , P_NONE = -1 } |
enum | C4Network2IOConnStatus { CS_Connect , CS_Connected , CS_HalfAccepted , CS_Accepted , CS_Closed , CS_ConnectFail } |
Variables | |
const int | C4NetTimer = 500 |
const int | C4NetPingFreq = 1000 |
const int | C4NetStatisticsFreq = 1000 |
const int | C4NetAcceptTimeout = 10 |
const int | C4NetPingTimeout = 30000 |
const int | C4NetMaxClients = 256 |
struct C4Network2IO::AutoAccept |
Definition at line 81 of file C4Network2IO.h.
Class Members | ||
---|---|---|
C4ClientCore | CCore | |
AutoAccept * | Next |
struct C4Network2IOConnection::PacketLogEntry |
Definition at line 248 of file C4Network2IO.h.
Class Members | ||
---|---|---|
PacketLogEntry * | Next | |
uint32_t | Number | |
C4NetIOPacket | Pkt |
Enumerator | |
---|---|
CS_Connect | |
CS_Connected | |
CS_HalfAccepted | |
CS_Accepted | |
CS_Closed | |
CS_ConnectFail |
Definition at line 204 of file C4Network2IO.h.
enum C4Network2IOProtocol |
const int C4NetAcceptTimeout = 10 |
Definition at line 37 of file C4Network2IO.h.
Referenced by C4Network2IO::CheckTimeout().
const int C4NetMaxClients = 256 |
Definition at line 41 of file C4Network2IO.h.
Referenced by C4PacketFwd::AddClient().
const int C4NetPingFreq = 1000 |
Definition at line 35 of file C4Network2IO.h.
Referenced by C4Network2IO::Execute().
const int C4NetPingTimeout = 30000 |
Definition at line 38 of file C4Network2IO.h.
Referenced by C4Network2IO::CheckTimeout().
const int C4NetStatisticsFreq = 1000 |
Definition at line 36 of file C4Network2IO.h.
Referenced by C4Network2IO::Execute().
const int C4NetTimer = 500 |
Definition at line 34 of file C4Network2IO.h.
Referenced by C4Network2IO::GetNextTick().