摘要:
服务器端程序using System;using System.Collections.Generic;using System.Linq;using System.Text; using System.IO;using System.Net.Sockets;using System.Net;namespace server{ class Program { static void Main(string[] args) { try { //第一步:打开监听端口 IPAddress ip = IPAddress.Parse("127.0.0.1"); TcpListener 阅读全文
posted @ 2011-02-27 14:53
idefav_2010
阅读(116)
评论(0)
推荐(0)
摘要:
服务器端程序usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text; usingSystem.IO;usingSystem.Net.Sockets;usingSystem.Net;namespaceserver{classProgram{staticvoidMain(string[]args){try{//第一步:打开监听端口IPAddressip=IPAddress.Parse("127.0.0.1");TcpListenertcpListener=newTcpListen 阅读全文
posted @ 2011-02-27 14:50
idefav_2010
阅读(415)
评论(0)
推荐(0)