Socket inherits timeout from accept - is this right?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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? That means we should not only reset the timeout but other socket
> options as well.

O, I didn't think of that. We should at least write similar Mauve tests
as the one I did for the time out property:
gnu/testlet/java/net/ServerSocket/AcceptTimeout.java

Thanks for that. I added a bug report for this:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27656

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://developer.classpath.org/pipermail/classpath/attachments/20060518/359b3340/attachment.pgp

[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux