阅读背景:

TcpClient.Connected返回true但客户端未连接,我可以使用什么?

来源:互联网 

In VB.net I'm using the TcpClient to retrieve a string of data. I'm constantly checking the .Connected property to verify if the client is connected but even if the client disconnects this still returns true. What can I use as a workaround for this?In VB.net I'm using the TcpClient to retrieve a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: