Hi I have created a socket server and client program. My socket server is running on different computer and in my computer socket client is there. It works fine But the problem is that if there is no internet connection from the beginning in client computer then during I create socket connection I gets error.
only once i will create socket connection and then for infinite I am trying to send data to server and server receives the data perfectly. but in between these if at any point of time I disconnect client internet then also I am unable to get any exception so that I can know that my internet connection is disconnected or my socket connection is not present or my socket connection became null . So how to detect the internet connection failure at this point of time...
Thanks Sunil Kumar Sahoo