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
This commit is contained in:
30
ProtoProxy/ProtoProxy.cpp
Normal file
30
ProtoProxy/ProtoProxy.cpp
Normal file
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user