From: Godmar Back (gback@cs.utah.edu)
Date: Mon Feb 08 1999 - 11:23:18 EST
>
> On Feb 8, 1999, Godmar Back <gback@cs.utah.edu> wrote:
>
> > Alexandre, why did you add a timeout value to connect?
> > There's no use for it, is there?
>
> Of course there is. Do you think I'd have spent time on it if I
> didn't really need it? :-)
>
> JacORB (a GPLed 100% Pure Java ORB) depends on it for its
> initialization: it tries to connect to a NameServer and only if the
> connection times out will it start a NameServer (or so I was told by a
> colleague :-)
>
> But now that you mention it, the JDK 1.1 docs say that SO_TIMEOUT
> affects read(); it doesn't mention any other socket operation, so
> maybe JacORB shouldn't rely on that...
>
Can you tell me how JacORB even accesses it?
The connect is done in the socket constructor, and there's no timeout
parameter. In fact, in the patch you checked in, timeout is always
zero for connect. Am I missing something?
- Godmar
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:58:00 EDT