Beispiel #1
0
 protected void PrepareConnectionDetails()
 {
     IPAddress Ip = IPAddress.Any;
     string ip = Ip.ToString();
     int port = this.portInformation;
     this.clients = new Dictionary<int, Client>();
     this.nettyServer = new NettyServer(true);
     try
     {
         nettyServer.BindSocket(ip, port);
     }
     catch (SocketException ex)
     {
         throw new SocketInitializationException(ex.Message);
     }
 }