Пример #1
0
		protected virtual void StartListen(IPHostEntry iphe, int port) {
			var endPoint = new IPEndPoint(iphe.AddressList[0], Port);
			Listener = new SocketListener(endPoint, this);
		}
Пример #2
0
        protected virtual void StartListen(IPHostEntry iphe, int port)
        {
            var endPoint = new IPEndPoint(iphe.AddressList[0], Port);

            Listener = new SocketListener(endPoint, this);
        }