-
URGENT!! SOCKETS
how to detect that the connection with the server is lost , will it send FD_CLOSE event ,,,
i am trying to remove the cable from the system,,but it not generating FD_CLOSE event why...
what am i doing wrong...
as i am expecting FD_CLOSE event when the cable is forcefully removed.....other wise its working fine..
thanks a lot in advance
Samar
-
Re: URGENT!! SOCKETS
The only way to determine a lost connection is by performing a socket operation such as send or recv which will then return the appropriate error.