12#include "../../stdafx.h"
13#include "../../debug.h"
17#include "../../safeguards.h"
30 Debug(net, 5,
"Loading windows socket library");
31 if (WSAStartup(MAKEWORD(2, 0), &wsa) != 0) {
32 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.
#define Debug(category, level, format_string,...)
Ouptut a line of debugging information.
Network stuff has many things that needs to be included and/or implemented by default.
Basic functions to create, fill and read packets.