Description: Set keepalive after the experiment to look at client quit unexpectedly or network broken, the keepalive how notice abnormal disconnect. Select mode, the experimental environment for XP, and Win7 system, several cases the return value is as follows:
A. Normally open
The select function returns normally, the recv function returns 0
Two. Abnormal disconnect
To Search:
File list (Check if you may need any files):
WinSock_TCP_keepalive.doc