标签:
//创建一个要监听的端点的列表 List<IPEndPoint> endPointsToUse = new List<IPEndPoint>() { new IPEndPoint(IPAddress.Parse("192.168.0.1"), 4567), new IPEndPoint(IPAddress.Parse("192.168.10.5"), 7654) }; //开始监听每一个端点 foreach (IPEndPoint endPoint in endPointsToUse) Connection.StartListening(ConnectionType.TCP, endPoint);
networkcomms.cn整理
标签:
原文地址:http://www.cnblogs.com/networkcomms/p/4318578.html