摘要: 1 // 取得本机Loopback :127.0.0.1 2 IPAddress address = IPAddress.Loopback; 3 // 创建访问端点,端口:8081 4 IPEndPoint endpoint = new IPEndPoint(address,8081); 5 6 // 创建Tcp监听器 7 TcpListener tcpserver = new TcpListener(endpoint); 8 ... 阅读全文
posted @ 2012-05-10 13:36 Tom.汤 阅读(537) 评论(1) 推荐(1) 编辑