Re: [CVS] commit

Date view Thread view Subject view Author view

From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Mon Feb 08 1999 - 11:17:23 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...

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:58:00 EDT