摘要: 一、服务器端using System;using System.Collections.Generic;using System.Text;using System.Net;using System.Net.Sockets;namespace UDPServer{ class Program { static void Main(string[] args) { int recv; byte[] data = new byte[1024]; //构建TCP 服务器 //得到本机IP,设置TCP端口号 IPEndPoint ipep = new IPEndPoint(IPAddress.Any 阅读全文
posted @ 2011-08-03 15:28 EasyPass 阅读(476) 评论(0) 推荐(0)