摘要: using System;using System.Collections.Generic;using System.Text;using System.Net;//为了IPEndPoint而添加的引用using System.Net.Sockets;namespace GetClntIP{ class Program { static void Main(string[] args) { TcpListener tcpListener = new TcpListener(9000);//监听的端口号,可根据需要修改 tcpListener.Start(); //loop for listen 阅读全文
posted @ 2012-04-24 09:34 】Richard【 阅读(1136) 评论(0) 推荐(0) 编辑