27#ifndef __NETWORKUTIL_H
28#define __NETWORKUTIL_H
43void dumpBufferToLog(
const void *vBuf,
Int len,
const char *fname,
Int line);
45#define LOGBUFFER(buf, len) dumpBufferToLog(buf, len, __FILE__, __LINE__)
47#define LOGBUFFER(buf, len) {}
unsigned short UnsignedShort
UnsignedShort GenerateNextCommandID()
AsciiString GetAsciiNetCommandType(NetCommandType type)
Bool CommandRequiresAck(NetCommandMsg *msg)
Bool DoesCommandRequireACommandID(NetCommandType type)
Bool CommandRequiresDirectSend(NetCommandMsg *msg)
Bool IsCommandSynchronized(NetCommandType type)
UnsignedInt ResolveIP(AsciiString host)