开发者

Time between client inputs in socket communication

I have a simple socket server client communication in java where the clinet introduce a string and the s开发者_如何学Pythonerver return the number of spaces from that string. I want to finish the communication if the client does'n introduce nothing for more than 10 seconds but i don't know how. Any idea please?


setSoTimeout(10000)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜