diff options
Diffstat (limited to 'csgo-loader/csgo-server/Server.cpp')
| -rw-r--r-- | csgo-loader/csgo-server/Server.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/csgo-loader/csgo-server/Server.cpp b/csgo-loader/csgo-server/Server.cpp index c475542..2f3f913 100644 --- a/csgo-loader/csgo-server/Server.cpp +++ b/csgo-loader/csgo-server/Server.cpp @@ -1,14 +1,8 @@ #include <Server.hpp>
-void ConnectionHandler(Networking::TCPConnection &Connection)
+void ConnectionHandler(Networking::TCPConnection &)
{
- ByteArray Bytes = Connection.ReceiveBytes();
- for(auto &It : Bytes)
- printf("%02x ", It);
- printf("\n");
-
- Connection.SendBytes(Bytes);
}
int __stdcall WinMain(HINSTANCE, HINSTANCE, char*, int)
@@ -33,7 +27,7 @@ int __stdcall WinMain(HINSTANCE, HINSTANCE, char*, int) }
if(!Result)
- printf("[FAIL] Failed to initialise server. (%08lx)\n", WSAGetLastError());
+ printf("[ !! ] Failed to initialise server. (%08lx)\n", WSAGetLastError());
system("pause");
}
\ No newline at end of file |
