摘要: //Socket基本编程//服务端: using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; Thread mythread ; Socket socket; // 清理所有正在使用的资源。 protected override void Dispose( bool disposing ) { try   {       socket.Close();//释放资源    mythread.Abort ( ) ;//中止线程   }   catch{ } if( disposin 阅读全文
posted @ 2010-12-10 10:20 枫- 阅读(635) 评论(0) 推荐(0) 编辑