Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

lan cable disconnect detection

hello there..
m working with an appl which is supposed to detect the lan
cable presence. on removal of the cable it shows an error msg. m presently doing this by catching a socket exeption, n the msg goes in the catch block.
the problem m facing is the time taken for this operation.if the cable is removed n re-attached quickly the exception is not thrown..
is there any other way to do this??how does windows do it that fast?? what is the dll it calls??
guys... hoping for a good soln,hve burnt my head over this...

thanx in advance...
[643 byte] By [sharath83] at [2007-11-11 7:53:56]