摘要: 参考自:http://blog.csdn.net/liguo9860/article/details/6148614 服务端: 1 #region 属性 2 3 //请求的客户端连接 4 Socket clientsocket; 5 //当前连接集合 6 List<Client> clients; 阅读全文
posted @ 2016-03-11 10:21 开拓丿飞 阅读(683) 评论(0) 推荐(0) 编辑
摘要: 转自:http://www.cnblogs.com/mahaisong/archive/2011/07/25/2116475.html (讲的很好,很细) 参考:http://blog.sina.com.cn/s/blog_810c860001018tir.html 连接握手: 1.客户端发送建立连 阅读全文
posted @ 2016-03-11 10:11 开拓丿飞 阅读(735) 评论(0) 推荐(0) 编辑