#include int __stdcall WinMain(HINSTANCE, HINSTANCE, char*, int) { // Open a debugging console. Utils::OpenConsole(); // Create an instance of the TCP server. Networking::TCPServer Server; bool Result = Server.Start(SERVER_PORT); if(Result) { for(;;) Server.AcceptConnection(); } if(!Result) printf("[FAIL] Failed to initialise server. (%08lx)\n", WSAGetLastError()); system("pause"); }