#include "Flatline.h" bool NetPlatform_Initalize() { WSADATA wsaData; if (WSAStartup(MAKEWORD(2, 2), &wsaData)) { DDrStartupMessage("WSA initalization failed"); return false; } DDrStartupMessage("net started using WSA version %d.%d", LOBYTE(wsaData.wVersion), HIBYTE(wsaData.wVersion)); return true; } bool NetPlatform_Shutdown() { WSACleanup(); return true; }