Hi All, I am having a client server application. The client opens a socket connection to the server. On the server side I create InputStream and OutputStream to Communicate with the client. I am doing inputstream.available() to check if there are any bytes to be read. Now the problem is if the client-server connection is broken due to some reason the available method is not throwing an exception. Hence there is no means of detecting if the connection still exists. Please help. thanks kiran