| Author |
Explain java.net.SocketTimeoutException: Read timed out
|
alex russo
Greenhorn
Joined: Apr 19, 2012
Posts: 6
|
|
Hello ,
Can some one explain me in simple terms what is "java.net.SocketTimeoutException: Read timed out" . I have searched in google and I ran into so many descriptions that I am confused now. If some one can explain me in simple terms that would be of great help.
Note: If I have created a thread in error under wrong tree structure please apologize me and move this post to appropriate location.
thanks
Alex
|
 |
Karthik Jayachandran
Ranch Hand
Joined: Feb 18, 2009
Posts: 36
|
|
As per API, it defines
Signals that a timeout has occurred on a socket read or accept.
It means the specific destination is unable to connect / unable to read.
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12921
|
|
A socket is what you use to communicate over a network (for example to connect to a server on the Internet). The error message means that a program was trying to receive data from a remote computer over the network, but no no data was received for a period of time, so the program stopped waiting for the data to be received.
Is this an error message that you get when you run your own program? If you want us to help you solve the problem, then please explain in more detail what you are trying to do, show us your code, explain exactly when and where the exception occurs, etc.
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
 |
|
|
subject: Explain java.net.SocketTimeoutException: Read timed out
|
|
|