J
joe.no_junk
Hi all.
I would like to figure out a way to get every socket created by any
code
in the JVM time out if a socket read is not responded to in X seconds.
I
made the cheap hack to java.net.Socket to internally call
self.setSoTimeout()
just before returning in every constructor, and that does the trick,
but
is there a non-bootclasspath-hacking way of doing it?
thanks,
Joe
I would like to figure out a way to get every socket created by any
code
in the JVM time out if a socket read is not responded to in X seconds.
I
made the cheap hack to java.net.Socket to internally call
self.setSoTimeout()
just before returning in every constructor, and that does the trick,
but
is there a non-bootclasspath-hacking way of doing it?
thanks,
Joe