internal void Start() { var socket = new SocketWrapper(new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)); socket.Bind(new IPEndPoint(IPAddress.Parse(Config.Current.IpAddress), Config.Current.ListenPort)); socket.Listen(Config.Current.MaxPendingConnections); var thread = new Thread(this.Communication_ListenIncoming); thread.Start(socket); }