Exemple #1
0
 public void Start()
 {
     mGingerSocketServer = new GingerSocketServer2();
     mGingerSocketServer.MessageHandler = MessageHandler;
     ServerPort = SocketHelper.GetOpenPort();
     mGingerSocketServer.StartServer(ServerPort);
 }
Exemple #2
0
 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");
 }
Exemple #3
0
 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);
     }
 }
Exemple #4
0
 public void Start()
 {
     mGingerSocketServer = new GingerSocketServer2();
     mGingerSocketServer.StartServer(mPort);
     mGingerSocketServer.MessageHandler = GingerSocketServerMessageHandler;
 }