3#ifndef ENGINE_SERVER_SERVER_H
4#define ENGINE_SERVER_SERVER_H
49 int BanExt(T *pBanPool,
const typename T::CDataType *pData,
int Seconds,
const char *pReason,
bool VerbatimReason);
56 int BanAddr(
const NETADDR *pAddr,
int Seconds,
const char *pReason,
bool VerbatimReason)
override;
80#if defined(CONF_FAMILY_UNIX)
89 int m_PreviousDebugDummies = 0;
90 void UpdateDebugDummies(
bool ForceDisconnect);
276 void SetClientName(
int ClientId,
const char *pName)
override;
277 void SetClientClan(
int ClientId,
const char *pClan)
override;
282 void Kick(
int ClientId,
const char *pReason)
override;
283 void Ban(
int ClientId,
int Seconds,
const char *pReason,
bool VerbatimReason)
override;
297 const char *
GetAuthName(
int ClientId)
const override;
298 void GetMapInfo(
char *pMapName,
int MapNameSize,
int *pMapSize,
SHA256_DIGEST *pMapSha256,
int *pMapCrc)
override;
301 void GetClientAddr(
int ClientId,
char *pAddrStr,
int Size)
const override;
302 const char *
ClientName(
int ClientId)
const override;
303 const char *
ClientClan(
int ClientId)
const override;
307 int Port()
const override;
360 void AddChunk(
const void *pData,
int Size);
381 void ChangeMap(
const char *pMap)
override;
384 int LoadMap(
const char *pMapName);
386 void SaveDemo(
int ClientId,
float Time)
override;
419 void LogoutKey(
int Key,
const char *pReason);
431#if defined(CONF_FAMILY_UNIX)
439 void *
SnapNewItem(
int Type,
int Id,
int Size)
override;
449 int *
GetIdMap(
int ClientId)
override;
470 bool SetTimedOut(
int ClientId,
int OrigId)
override;
473 void SendMsgRaw(
int ClientId,
const void *pData,
int Size,
int Flags)
override;
480 void SetLoggers(std::shared_ptr<ILogger> &&pFileLogger, std::shared_ptr<ILogger> &&pStdoutLogger);
482#ifdef CONF_FAMILY_UNIX
Definition: authmanager.h:11
Definition: connection_pool.h:61
Definition: host_lookup.h:11
Definition: name_ban.h:29
Definition: network.h:375
int ResetErrorString(int ClientId)
Definition: network_server.cpp:807
void SetTimeoutProtected(int ClientId)
Definition: network_server.cpp:802
const char * ErrorString(int ClientId)
Definition: network_server.cpp:813
static void ConBanRegionRange(class IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:170
static void ConBanRegion(class IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:160
void InitServerBan(class IConsole *pConsole, class IStorage *pStorage, class CServer *pServer)
Definition: server.cpp:51
class CServer * m_pServer
Definition: server.h:46
int BanExt(T *pBanPool, const typename T::CDataType *pData, int Seconds, const char *pReason, bool VerbatimReason)
Definition: server.cpp:64
class CServer * Server() const
Definition: server.h:52
static void ConBanExt(class IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:140
int BanAddr(const NETADDR *pAddr, int Seconds, const char *pReason, bool VerbatimReason) override
Definition: server.cpp:126
int BanRange(const CNetRange *pRange, int Seconds, const char *pReason) override
Definition: server.cpp:131
Definition: server_logger.h:10
std::vector< uint8_t > m_vData
Definition: server.h:352
CCacheChunk(CCacheChunk &&)=default
CCacheChunk(const CCacheChunk &)=delete
CCacheChunk(const void *pData, int Size)
Definition: server.cpp:1927
void Clear()
Definition: server.cpp:1937
void AddChunk(const void *pData, int Size)
Definition: server.cpp:1932
CCache()
Definition: server.cpp:1917
std::vector< CCacheChunk > m_vCache
Definition: server.h:355
~CCache()
Definition: server.cpp:1922
double m_Traffic
Definition: server.h:143
NETADDR m_Addr
Definition: server.h:175
int64_t m_RedirectDropTime
Definition: server.h:181
int m_CurrentInput
Definition: server.h:152
void Reset()
Definition: server.cpp:206
int m_NextMapChunk
Definition: server.h:161
CSnapshotStorage m_Snapshots
Definition: server.h:148
bool m_DebugDummy
Definition: server.h:164
bool m_ShowIps
Definition: server.h:163
int m_LastAckedSnapshot
Definition: server.h:146
CInput m_aInputs[200]
Definition: server.h:151
int m_DDNetVersion
Definition: server.h:178
char m_aDDNetVersionStr[64]
Definition: server.h:179
@ STATE_REDIRECTED
Definition: server.h:119
@ SNAPRATE_FULL
Definition: server.h:122
@ DNSBL_STATE_BLACKLISTED
Definition: server.h:127
@ STATE_INGAME
Definition: server.h:118
@ STATE_EMPTY
Definition: server.h:113
@ STATE_CONNECTING
Definition: server.h:116
@ SNAPRATE_RECOVER
Definition: server.h:123
@ DNSBL_STATE_PENDING
Definition: server.h:126
@ SNAPRATE_INIT
Definition: server.h:121
@ STATE_AUTH
Definition: server.h:115
@ STATE_READY
Definition: server.h:117
@ STATE_PREAUTH
Definition: server.h:114
@ DNSBL_STATE_NONE
Definition: server.h:125
@ DNSBL_STATE_WHITELISTED
Definition: server.h:128
int m_AuthTries
Definition: server.h:160
void * m_pPersistentData
Definition: server.h:169
int m_Latency
Definition: server.h:140
int m_Authed
Definition: server.h:158
int m_State
Definition: server.h:139
int m_AuthKey
Definition: server.h:159
char m_aClan[MAX_CLAN_LENGTH]
Definition: server.h:155
const IConsole::CCommandInfo * m_pRconCmdToSend
Definition: server.h:166
bool m_HasPersistentData
Definition: server.h:168
CUuid m_ConnectionId
Definition: server.h:180
bool m_Sixup
Definition: server.h:187
bool IncludedInServerInfo() const
Definition: server.h:189
int m_Flags
Definition: server.h:162
int m_LastInputTick
Definition: server.h:147
char m_aName[MAX_NAME_LENGTH]
Definition: server.h:154
bool m_DDNetVersionSettled
Definition: server.h:177
int m_Country
Definition: server.h:156
int m_DnsblState
Definition: server.h:184
int m_SnapRate
Definition: server.h:141
std::optional< int > m_Score
Definition: server.h:157
bool m_GotDDNetVersionPacket
Definition: server.h:176
CInput m_LatestInput
Definition: server.h:150
int64_t m_TrafficSince
Definition: server.h:144
std::shared_ptr< CHostLookup > m_pDnsblLookup
Definition: server.h:185
CSnapshotBuilder m_SnapshotBuilder
Definition: server.h:199
void SendMsgRaw(int ClientId, const void *pData, int Size, int Flags) override
Definition: server.cpp:859
UNIXSOCKET m_ConnLoggingSocket
Definition: server.h:83
void SetClientName(int ClientId, const char *pName) override
Definition: server.cpp:421
static void ConchainSixupUpdate(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3777
bool CheckReservedSlotAuth(int ClientId, const char *pPassword)
Definition: server.cpp:1402
void ExpireServerInfo() override
Definition: server.cpp:2300
void GetMapInfo(char *pMapName, int MapNameSize, int *pMapSize, SHA256_DIGEST *pMapSha256, int *pMapCrc) override
Definition: server.cpp:1188
void SetClientCountry(int ClientId, int Country) override
Definition: server.cpp:431
void SetClientFlags(int ClientId, int Flags) override
Definition: server.cpp:450
int GetAuthedState(int ClientId) const override
Definition: server.cpp:564
static void ConDumpSqlServers(IConsole::IResult *pResult, void *pUserData)
Definition: server.cpp:3601
void DoSnapshot()
Definition: server.cpp:878
void RedirectClient(int ClientId, int Port, bool Verbose=false) override
Definition: server.cpp:486
static void ConchainCommandAccessUpdate(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3639
int64_t TickStartTime(int Tick)
Definition: server.cpp:515
char m_aErrorShutdownReason[128]
Definition: server.h:257
void CacheServerInfo(CCache *pCache, int Type, bool SendClients)
Definition: server.cpp:1942
void Ban(int ClientId, int Seconds, const char *pReason, bool VerbatimReason) override
Definition: server.cpp:479
int m_aIdMap[MAX_CLIENTS *VANILLA_MAX_CLIENTS]
Definition: server.h:196
@ RUNNING
Definition: server.h:215
@ STOPPING
Definition: server.h:216
@ UNINITIALIZED
Definition: server.h:214
const char * GetAnnouncementLine() override
Definition: server.cpp:3961
void SetClientClan(int ClientId, const char *pClan) override
Definition: server.cpp:426
static void ConAddSqlServer(IConsole::IResult *pResult, void *pUserData)
Definition: server.cpp:3552
bool DnsblPending(int ClientId) override
Definition: server.h:457
CServerBan m_ServerBan
Definition: server.h:204
CSnapshotDelta m_SnapshotDelta
Definition: server.h:198
bool IsSixup(int ClientId) const override
Definition: server.h:478
void SetRconCid(int ClientId) override
Definition: server.cpp:559
class CDbConnectionPool * m_pConnectionPool
Definition: server.h:86
bool IsRecording(int ClientId) override
Definition: server.cpp:3458
const char * ClientClan(int ClientId) const override
Definition: server.cpp:633
int * GetIdMap(int ClientId) override
Definition: server.cpp:3990
void GetServerInfoSixup(CPacker *pPacker, int Token, bool SendClients)
Definition: server.cpp:2272
void SetClientScore(int ClientId, std::optional< int > Score) override
Definition: server.cpp:439
const char * GetMapName() const override
Definition: server.cpp:2539
void StopDemos() override
Definition: server.cpp:3463
void AuthRemoveKey(int KeySlot)
Definition: server.cpp:3171
void SendCapabilities(int ClientId)
Definition: server.cpp:1196
class IConsole * m_pConsole
Definition: server.h:70
bool SetTimedOut(int ClientId, int OrigId) override
Definition: server.cpp:3995
void RegisterCommands()
Definition: server.cpp:3844
bool IsClientNameAvailable(int ClientId, const char *pNameRequest)
Definition: server.cpp:290
int Port() const override
Definition: server.cpp:663
bool SetClientNameImpl(int ClientId, const char *pNameRequest, bool Set)
Definition: server.cpp:314
SHA256_DIGEST m_aCurrentMapSha256[NUM_MAP_TYPES]
Definition: server.h:246
void SendConnectionReady(int ClientId)
Definition: server.cpp:1275
static void ConchainStdoutOutputLevel(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3795
void SnapSetStaticsize(int ItemType, int Size) override
Definition: server.cpp:3922
int Run()
Definition: server.cpp:2669
std::shared_ptr< ILogger > m_pFileLogger
Definition: server.h:264
bool m_ConnLoggingSocketCreated
Definition: server.h:82
static void ConchainAnnouncementFileName(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3805
bool DnsblWhite(int ClientId) override
Definition: server.h:452
void CacheServerInfoSixup(CCache *pCache, bool SendClients)
Definition: server.cpp:2156
class IStorage * m_pStorage
Definition: server.h:71
static void ConchainRconHelperPasswordChange(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3760
class IEngineAntibot * m_pAntibot
Definition: server.h:72
CHttp m_Http
Definition: server.h:205
static int ClientRejoinCallback(int ClientId, void *pUser)
Definition: server.cpp:1011
void InitDnsbl(int ClientId)
Definition: server.cpp:1098
CNetServer m_NetServer
Definition: server.h:201
void PumpNetwork(bool PacketWaiting)
Definition: server.cpp:2434
void SendLogLine(const CLogMessage *pMessage)
Definition: server.cpp:547
std::shared_ptr< ILogger > m_pStdoutLogger
Definition: server.h:265
int m_ServerInfoNumRequests
Definition: server.h:255
static void ConRecord(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3474
int m_RunServer
Definition: server.h:219
static void ConchainMapUpdate(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3767
int SnapNewId() override
Definition: server.cpp:3906
bool ClientSlotEmpty(int ClientId) const override
Definition: server.cpp:653
static void ConAuthAddHashed(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3217
void SendMapReload(int ClientId)
Definition: server.cpp:1269
IEngineMap * m_pMap
Definition: server.h:207
bool m_ReloadedWhenEmpty
Definition: server.h:223
const char * ClientName(int ClientId) const override
Definition: server.cpp:623
CDemoRecorder m_aDemoRecorder[NUM_RECORDERS]
Definition: server.h:251
bool DnsblBlack(int ClientId) override
Definition: server.h:461
bool m_MapReload
Definition: server.h:221
void * SnapNewItem(int Type, int Id, int Size) override
Definition: server.cpp:3916
void UpdateClientRconCommands()
Definition: server.cpp:1365
static int NewClientCallback(int ClientId, void *pUser, bool Sixup)
Definition: server.cpp:1065
CUPnP m_UPnP
Definition: server.h:77
bool WouldClientClanChange(int ClientId, const char *pClanRequest) override
Definition: server.cpp:416
unsigned m_aCurrentMapCrc[NUM_MAP_TYPES]
Definition: server.h:247
int MaxClients() const override
Definition: server.cpp:668
class IStorage * Storage()
Definition: server.h:98
static void ConShutdown(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3372
const CConfig * Config() const
Definition: server.h:96
class IGameServer * GameServer()
Definition: server.h:94
@ RECORDER_AUTO
Definition: server.h:240
@ NUM_RECORDERS
Definition: server.h:241
@ RECORDER_MANUAL
Definition: server.h:239
int GetConsoleAccessLevel(int ClientId)
Definition: server.cpp:1348
static void ConchainRconModPasswordChange(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3753
void UpdateRegisterServerInfo()
Definition: server.cpp:2305
void SendRconType(int ClientId, bool UsernameReq)
Definition: server.cpp:1181
static void ConAuthList(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3364
const char * GetAuthName(int ClientId) const override
Definition: server.cpp:571
class IGameServer * m_pGameServer
Definition: server.h:68
char m_aCurrentMap[IO_MAX_PATH_LENGTH]
Definition: server.h:244
class CConfig * m_pConfig
Definition: server.h:69
std::vector< std::string > m_vAnnouncements
Definition: server.h:262
int64_t m_GameStartTime
Definition: server.h:209
void LogoutClient(int ClientId, const char *pReason)
Definition: server.cpp:3670
bool SetClientClanImpl(int ClientId, const char *pClanRequest, bool Set)
Definition: server.cpp:370
static void ConAuthAdd(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3190
const char * GetNetErrorString(int ClientId) override
Definition: server.h:468
void SendServerInfoConnless(const NETADDR *pAddr, int Token, int Type)
Definition: server.cpp:1902
static void ConAuthUpdateHashed(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3289
CCache m_aServerInfoCache[3 *2]
Definition: server.h:363
void FillAntibot(CAntibotRoundData *pData) override
Definition: server.cpp:2287
void SendMap(int ClientId)
Definition: server.cpp:1204
void SendRconLogLine(int ClientId, const CLogMessage *pMessage)
Definition: server.cpp:1288
void DemoRecorder_HandleAutoStart() override
Definition: server.cpp:3383
int m_RconClientId
Definition: server.h:224
@ MAP_TYPE_SIX
Definition: server.h:232
@ NUM_MAP_TYPES
Definition: server.h:234
@ MAP_TYPE_SIXUP
Definition: server.h:233
void GetClientAddr(int ClientId, char *pAddrStr, int Size) const override
Definition: server.cpp:617
static void ConchainLoglevel(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3785
int DistinctClientCount() const override
Definition: server.cpp:687
class IRegister * m_pRegister
Definition: server.h:73
CNameBans m_NameBans
Definition: server.h:259
int ClientCountry(int ClientId) const override
Definition: server.cpp:643
static void ConStatus(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3101
bool RateLimitServerInfoConnless()
Definition: server.cpp:1880
int SendMsg(CMsgPacker *pMsg, int Flags, int ClientId) override
Definition: server.cpp:782
static void ConchainMaxclientsperipUpdate(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3632
int m_PrintCBIndex
Definition: server.h:226
CSnapIdPool m_IdPool
Definition: server.h:200
CCache m_aSixupServerInfoCache[2]
Definition: server.h:364
static int DelClientCallback(int ClientId, const char *pReason, void *pUser)
Definition: server.cpp:1141
void ReadAnnouncementsFile(const char *pFileName) override
Definition: server.cpp:3939
void UpdateServerInfo(bool Resend=false)
Definition: server.cpp:2399
void SendRconLine(int ClientId, const char *pLine)
Definition: server.cpp:1281
CServer()
Definition: server.cpp:224
int GetClientVersion(int ClientId) const override
Definition: server.cpp:719
void LogoutKey(int Key, const char *pReason)
Definition: server.cpp:3709
void ProcessClientPacket(CNetChunk *pPacket)
Definition: server.cpp:1434
void ResetNetErrorString(int ClientId) override
Definition: server.h:469
bool WouldClientNameChange(int ClientId, const char *pNameRequest) override
Definition: server.cpp:411
void * m_pPersistentData
Definition: server.h:228
void StopRecord(int ClientId) override
Definition: server.cpp:3450
bool ClientPrevIngame(int ClientId) override
Definition: server.h:467
static void ConAuthRemove(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3333
@ MAX_RCONCMD_SEND
Definition: server.h:105
bool m_ServerInfoNeedsUpdate
Definition: server.h:365
void ReloadMap() override
Definition: server.cpp:2550
static void ConAuthUpdate(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3260
IEngine * m_pEngine
Definition: server.h:74
CONN_LOGGING_CMD
Definition: server.h:484
@ OPEN_SESSION
Definition: server.h:485
@ CLOSE_SESSION
Definition: server.h:486
void SendConnLoggingCommand(CONN_LOGGING_CMD Cmd, const NETADDR *pAddr)
Definition: server.cpp:1125
bool GetClientInfo(int ClientId, CClientInfo *pInfo) const override
Definition: server.cpp:580
void SendServerInfo(const NETADDR *pAddr, int Token, int Type, bool SendClients)
Definition: server.cpp:2218
CClient m_aClients[MAX_CLIENTS]
Definition: server.h:195
UNIXSOCKETADDR m_ConnLoggingDestAddr
Definition: server.h:81
unsigned char * m_apCurrentMapData[NUM_MAP_TYPES]
Definition: server.h:248
static void ConShowIps(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3532
class IEngineAntibot * Antibot()
Definition: server.h:99
static int NewClientNoAuthCallback(int ClientId, void *pUser)
Definition: server.cpp:1033
IEngine * Engine()
Definition: server.h:101
static void ConchainRconPasswordChange(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3746
static void ConStopRecord(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3511
CEcon m_Econ
Definition: server.h:202
int NumRconCommands(int ClientId)
Definition: server.cpp:1353
class CDbConnectionPool * DbPool()
Definition: server.h:100
class CConfig * Config()
Definition: server.h:95
int Init()
Definition: server.cpp:520
int ClientCount() const override
Definition: server.cpp:673
CFifo m_Fifo
Definition: server.h:203
void ChangeMap(const char *pMap) override
Definition: server.cpp:2544
bool ClientIngame(int ClientId) const override
Definition: server.cpp:658
size_t m_AnnouncementLastLine
Definition: server.h:261
void StartRecord(int ClientId) override
Definition: server.cpp:3427
int LoadMap(const char *pMapName)
Definition: server.cpp:2555
int m_aPrevStates[MAX_CLIENTS]
Definition: server.h:445
int m_RconAuthLevel
Definition: server.h:225
bool ErrorShutdown() const
Definition: server.h:475
unsigned int m_aCurrentMapSize[NUM_MAP_TYPES]
Definition: server.h:249
static void ConchainConnLoggingServerChange(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3817
void SendRconCmdRem(const IConsole::CCommandInfo *pCommandInfo, int ClientId)
Definition: server.cpp:1341
int64_t m_ServerInfoFirstRequest
Definition: server.h:254
char m_aShutdownReason[128]
Definition: server.h:227
static void ConLogout(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3521
static void ConKick(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3089
void SaveDemo(int ClientId, float Time) override
Definition: server.cpp:3417
void SendRconCmdAdd(const IConsole::CCommandInfo *pCommandInfo, int ClientId)
Definition: server.cpp:1332
void SetClientDDNetVersion(int ClientId, int DDNetVersion) override
Definition: server.cpp:606
void ConchainRconPasswordChangeGeneric(int Level, const char *pCurrent, IConsole::IResult *pResult)
Definition: server.cpp:3716
void SetLoggers(std::shared_ptr< ILogger > &&pFileLogger, std::shared_ptr< ILogger > &&pStdoutLogger)
Definition: server.cpp:4021
void SetErrorShutdown(const char *pReason) override
Definition: server.cpp:4016
class IConsole * Console()
Definition: server.h:97
static void ConchainSpecialInfoupdate(IConsole::IResult *pResult, void *pUserData, IConsole::FCommandCallback pfnCallback, void *pCallbackUserData)
Definition: server.cpp:3621
void Kick(int ClientId, const char *pReason) override
Definition: server.cpp:458
void SendMapData(int ClientId, int Chunk)
Definition: server.cpp:1233
const char * m_pCurrentMapName
Definition: server.h:245
~CServer()
Definition: server.cpp:270
CAuthManager m_AuthManager
Definition: server.h:252
bool m_SameMapReload
Definition: server.h:222
void SetTimeoutProtected(int ClientId) override
Definition: server.h:471
void SnapFreeId(int Id) override
Definition: server.cpp:3911
static void ConMapReload(IConsole::IResult *pResult, void *pUser)
Definition: server.cpp:3516
Definition: snap_id_pool.h:8
Definition: snapshot.h:146
Definition: snapshot.h:74
Definition: snapshot.h:115
void(* FCommandCallback)(IResult *pResult, void *pUserData)
Definition: console.h:92
Definition: register.h:11
int Tick() const
Definition: server.h:49
@ MAX_CLAN_LENGTH
Definition: protocol.h:98
@ MAX_INPUT_SIZE
Definition: protocol.h:94
@ MAX_CLIENTS
Definition: protocol.h:88
@ VANILLA_MAX_CLIENTS
Definition: protocol.h:89
@ MAX_NAME_LENGTH
Definition: protocol.h:97
int UNIXSOCKET
Definition: system.h:794
struct sockaddr_un UNIXSOCKETADDR
Definition: system.h:798
CServer * CreateServer()
Definition: server.cpp:3927
@ SERVER_DEMO_CLIENT
Definition: server.h:26
Definition: antibot_data.h:98
Definition: network.h:129
Definition: uuid_manager.h:17
@ IO_MAX_PATH_LENGTH
Definition: types.h:43