From e1c83be32d5435d3c2bbc1468b24ba8c0728bac3 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 2 Sep 2012 15:38:28 +0000 Subject: ProtoProxy: Initial import of the protocol proxy project. Currently it logs all communication, doesn't decode anything, doesn't decrypt. git-svn-id: http://mc-server.googlecode.com/svn/trunk@822 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- ProtoProxy/ProtoProxy.cpp | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ProtoProxy/ProtoProxy.cpp (limited to 'ProtoProxy/ProtoProxy.cpp') diff --git a/ProtoProxy/ProtoProxy.cpp b/ProtoProxy/ProtoProxy.cpp new file mode 100644 index 000000000..abc4a7606 --- /dev/null +++ b/ProtoProxy/ProtoProxy.cpp @@ -0,0 +1,30 @@ + +// ProtoProxy.cpp + +// Implements the main app entrypoint + +#include "Globals.h" +#include "Server.h" + + + + + +int main(int argc, char ** argv) +{ + cServer Server; + int res = Server.Init(25565, 25564); + if (res != 0) + { + printf("Server initialization failed: %d", res); + return res; + } + + Server.Run(); + + return 0; +} + + + + -- cgit v1.2.3