28 Debug(net, 5,
"Loading windows socket library");
29 if (WSAStartup(MAKEWORD(2, 0), &wsa) != 0) {
30 Debug(net, 0,
"WSAStartup failed, network unavailable");
void NetworkCoreShutdown()
Shuts down the network core (as that is needed for some platforms.
bool NetworkCoreInitialize()
Initializes the network core (as that is needed for some platforms.
Functions related to debugging.
#define Debug(category, level, format_string,...)
Output a line of debugging information.
Includes and/or implementations for the network stuff.
Basic functions to create, fill and read packets.
A number of safeguards to prevent using unsafe methods.
Definition of base types and functions in a cross-platform compatible way.