Shouldn't the entire process be blocked, on a blocking IO
call? Thus, another user level thread wouldn't make a difference, as the
socket open attempt would block all threads belonging to the process.
Of course, this all changes when the JDK is written with native threads.
On Wed, 12 Aug 1998
Of all the debuggers I've come across for Java (most suck unmentionable
things), Sun's JavaWorkshop seems to be the best. It's written in Java,
so expect it to crash a fair amount; but it allows you to get waist deep
into the various stack frames of all your threads, inside a nice gui
It seems as though the incorrect Exception is being thrown in jdk1.1.5v7.
According to the Java documentation for java.net.Socket,
--
public synchronized void setSoTimeout(int timeout) throws SocketException
Enable/disable SO_TIMEOUT with the specified timeout, in
milliseconds. With this