I use InputStream.available() when recieving data from server to see if the server responded.
If it is 0, I do not do anything (assume the response was negative)..
But does it wait for the server, or could it give me 0 in a case where the server has not yet responded?