The following is the stack dump that I recieve during a stream read in a
thread.
java.net.SocketException: JVM_recv in socket input stream read (code=10004)
at java.net.SocketInputStream.socketRead(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at SimpleProxyServer$1.run(SimpleProxyServer.java:109)
TWO Questions:
1. what is a good source of information for this type of error, IE where is
code 10004 documented.
2. What could the exception mean?
Thanks,
Joel Parke
In most cases, you don't really need to worry about the specific error code.
What matters is that a SocketException was thrown, which indicates that there
is an error in the underlying protocol, such as a TCP error. So, maybe the host
you are trying to connect to is down, or something else went wrong. If you'd
have given some source code, it would be easier to figure it out. The main
thing is, don't try to look too deep into the error, because it's often easier
than it looks..
Niek