Re: Socket inherits timeout from accept - is this right?

2006-05-18 Thread Mark Wielaard
Hi Robert, On Mon, 2006-05-15 at 09:06 +0200, Robert Schuster wrote: man 2 accept says that the socket created by accept() has the same properties as the socket which was used in the accept call. Is it possible that in Java the created socket should have default properties here instead?

Re: Socket inherits timeout from accept - is this right?

2006-05-15 Thread Robert Schuster
Hi, man 2 accept says that the socket created by accept() has the same properties as the socket which was used in the accept call. Is it possible that in Java the created socket should have default properties here instead? That means we should not only reset the timeout but other socket options

Re: Socket inherits timeout from accept - is this right?

2006-05-14 Thread Mark Wielaard
Hi Edwin, On Wed, 2006-05-03 at 16:34 +0200, Edwin Steiner wrote: I tracked down a problem where JOnAS on classpath/cacao dropped a database connection for no good reason. The cause was that the ServerSocket used for accept has a one-second timeout set, and the accepted Sockets inherit it.

Re: Socket inherits timeout from accept - is this right?

2006-05-06 Thread Edwin Steiner
Hello! I reported this as http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27459 in the classpath bugzilla. You can also find a testcase there. -Edwin