2018年1月31日

socket技术难点

摘要: 1、使用socket建立连接后,客户端和服务端只要有一方使用close()或者dispose()关闭连接,对端在发送或接收时都会抛出异常:远程主机强迫关闭了一个现有的连接。 2、使用TcpClient建立连接后,当客户端在TcpClient实例上调用close()方法,或者在流上调用dispose( 阅读全文

posted @ 2018-01-31 20:41 liuslayer 阅读(975) 评论(0) 推荐(0)

导航