Inherited by cPacketPipe< cCharacterServer >.
Static Public Member Functions | |
static DWORD | ReturnPadOffset (DWORD dwLength) |
static void | Initialize (short nPort, WORD wLogicalID, DWORD dwSendCRCSeed, DWORD dwRecvCRCSeed) |
static void | Halt () |
Static Public Attributes | |
static DWORD | m_dwClientCount |
Static Protected Attributes | |
static DWORD | m_dwSendCRCSeed |
static DWORD | m_dwRecvCRCSeed |
static WORD | m_wLogicalID |
static SOCKET | m_Socket |
Friends | |
class | cMasterServer |
DWORD cCharacterServer::ReturnPadOffset | ( | DWORD | dwLength | ) | [static] |
Pads messages to the DWORD boundary.
Used for variable-length (text/char[]) fields. The client expects the next variable to start at the next whole DWORD (4 byte value) The variable length field is zero-padded until this boundary is reached.
dwLength | - The length of the variable-length field. |