Click to See Complete Forum and Search --> : URGENT!! SOCKETS


Samar Aarkotti
April 21st, 1999, 08:06 AM
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

April 21st, 1999, 04:12 PM
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.