public void Start() { mGingerSocketServer = new GingerSocketServer2(); mGingerSocketServer.MessageHandler = MessageHandler; ServerPort = SocketHelper.GetOpenPort(); mGingerSocketServer.StartServer(ServerPort); }
public void Start() { mGingerSocketServer = new GingerSocketServer2(); mGingerSocketServer.MessageHandler = MessageHandler; ServerPort = SocketHelper.GetOpenPort(); Console.WriteLine("################################ Ginger Server IP:Port = " + mGingerSocketServer.IPInfo); mGingerSocketServer.StartServer(ServerPort); Console.WriteLine("################################ Ginger Server Started"); }
public void Start() { try { mGingerSocketServer = new GingerSocketServer2(); mGingerSocketServer.StartServer(mPort); mGingerSocketServer.MessageHandler = GingerSocketServerMessageHandler; } catch (Exception ex) { throw new Exception("Error - Unable to start GingerGrid:" + ex.Message); } }
public void Start() { mGingerSocketServer = new GingerSocketServer2(); mGingerSocketServer.StartServer(mPort); mGingerSocketServer.MessageHandler = GingerSocketServerMessageHandler; }