close() of active socket does not work on FreeBSD 6

Daniel Eischen deischen at freebsd.org
Wed Dec 13 06:25:02 PST 2006


On Mon, 11 Dec 2006, Daniel Eischen wrote:
>
> Common sense leads me to think that a close() should release
> threads in IO operations (reads/writes/selects/polls) and
> return EBADF or something appropriate.  At least when behavior
> is not dictated by POSIX or other historical/defactor behavior.

BTW, I tested the behavior on Solaris.  Solaris returns EBADF
with the posted sample C program.

-- 
DE
_______________________________________________
freebsd-arch at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe at freebsd.org"


More information about the freebsd-java mailing list