阅读背景:

Server Client套接字中的空闲超时异常

来源:互联网 

I am working on a server client project where server is a Gateway which resides in the field and where we are developing the client. The client is scheduled to connect the server and get the data. Now my problem is the server has idle timeout for 10 secs. If the server and client are idle for 10 secs the server disconnects the client automatically. How can I catch the timeout exception in client where there is no chance of server sending any message to client as time out occurred so it is closing the connection.I am working on a server client project where s




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

分享到: