C+Udp+Socket例子ServerClient+(接受返回).pdf
文本预览下载声明
C#UdpSocket例子Server(接受返回)
Server:
staticvoidMain(string[]args){
intrecv;
byte[]data=newbyte[1024];
//构建TC服务器
//得到本机I,设置TC端口号
IPEndPointipep=newIPEndPoint(IPAddress.Any,8001);
显示全部