Wolfie320
asked on
Winsock and dropped connections.
How can my client application detect that the connection to a server device is gone/lost, 'network cable is removed', before i send data with the send function?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
the tcp stack sends a keep alive packet from time to time
you can control that via sessionKeepalive registry param
to increase resolution you'ld probably need to decrease the keep alive intervals
you can control that via sessionKeepalive registry param
to increase resolution you'ld probably need to decrease the keep alive intervals
opps I did not see your comment
and regular sockets ( not a class )
? under NT ?
visual c++ ?