Go to the source code of this file.
Macros | |
| #define | __NETWORKUTIL_H |
| #define | LOGBUFFER(buf, len) |
| #define __NETWORKUTIL_H |
Definition at line 28 of file networkutil.h.
| #define LOGBUFFER | ( | buf, | |
| len ) |
Definition at line 47 of file networkutil.h.
| Bool CommandRequiresAck | ( | NetCommandMsg * | msg | ) |
Returns true if this type of network command requires an ack.
Definition at line 147 of file NetworkUtil.cpp.
| Bool CommandRequiresDirectSend | ( | NetCommandMsg * | msg | ) |
Returns true if this type of network command requires the ack to be sent directly to the player rather than going through the packet router. This should really only be used by commands used on the disconnect screen.
Definition at line 190 of file NetworkUtil.cpp.
| Bool DoesCommandRequireACommandID | ( | NetCommandType | type | ) |
Returns true if this type of command requires a unique command ID.
Definition at line 119 of file NetworkUtil.cpp.
| UnsignedShort GenerateNextCommandID | ( | ) |
Returns the next network command ID.
Definition at line 110 of file NetworkUtil.cpp.
| AsciiString GetAsciiNetCommandType | ( | NetCommandType | type | ) |
Definition at line 206 of file NetworkUtil.cpp.
| Bool IsCommandSynchronized | ( | NetCommandType | type | ) |
Definition at line 173 of file NetworkUtil.cpp.
| UnsignedInt ResolveIP | ( | AsciiString | host | ) |
ResolveIP turns a string ("games2.westwood.com", or "192.168.0.1") into a 32-bit unsigned integer.
Definition at line 79 of file NetworkUtil.cpp.