Question : Socket Question

Does anyone have any idea on why socket connection timeout sometime does not timout with the value we specify in the Socket class ?

socket.setSoTimeout(5000) should timeout in 5 seconds if there was some issue in connecting to the host e.g host might be down for maintenance etc.

Answer : Socket Question

Random Solutions  
 
programming4us programming4us