Hello all of u,
I developed Visual Basic client application which connects to JAVA Server using TCP socket. I m using wireless modem for internet connectivity. I m having 2 questions as follows.


1) If i remove modem directally , socket still shows status as connected and sends data to server the server ( Actually server machine is not avaliable) and no error is raised

2) If i plug off LAN cable , still the same is happening.

How can i identify these 2 things. There is one way i know but this is not a feasible solution, I can ping server computer after some time duration to check status of server. But In some cases Ping may be disable on the Server Computer.

What do u think



Milind