e1c83be32d
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
31 lines
347 B
C++
31 lines
347 B
C++
|
|
// 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;
|
|
}
|
|
|
|
|
|
|
|
|