摘要:
DLTYiLou t = new DLTYiLou(); t.Calculate(); Type type = typeof(DLTYiLou); using (StreamWriter sw = new StreamWriter("dlt.txt")) { FieldInfo[] field = typeof(DLTYiLou).GetFields(); foreach (FieldInfo item in field) ... 阅读全文
posted @ 2012-01-16 14:49
水草肃
阅读(136)
评论(0)
推荐(0)
摘要:
主机对象是我们所必须的IPEndPoint套接字socket套接字绑定主机对象使用套件字开始监听socket.listen获取监听获得的套接字Socket b=socket.Accept();IPAddress myIP = IPAddress.Parse("127.0.0.1"); IPEndPoint myServer = new IPEndPoint(myIP, 2012); Socket mySocket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolT... 阅读全文
posted @ 2012-01-16 10:41
水草肃
阅读(285)
评论(0)
推荐(0)