Hello Friends,
how to set the timeout for the operation?
my question is i have send a request to the server and
waiting for resonse. how to come out from that and continuew my operation
if the server is not responding.
How do you prevent
Java from hanging on socket = new Socket(addr, port) line if the machine on the other end is not responding?
Is this possible in Java?
Thanks, Otis