summaryrefslogtreecommitdiffstats
path: root/ProtoProxy/ProtoProxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ProtoProxy/ProtoProxy.cpp')
-rw-r--r--ProtoProxy/ProtoProxy.cpp30
1 files changed, 30 insertions, 0 deletions
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;
+}
+
+
+
+