阅读背景:

如何在C中找到套接字连接状态?

来源:互联网 

I have a TCP connection. Server just reads data from the client. Now, if the connection is lost, the client will get an error while writing the data to the pipe (broken pipe), but the server still listens on that pipe. Is there any way I can find if the connection is UP or NOT?I have a TCP connection. Server just reads data




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

分享到: