close() failing with ECONNRESET

perryh at pluto.rain.com perryh at pluto.rain.com
Wed Jun 9 07:42:00 UTC 2010


Timo Sirainen <tss at iki.fi> wrote:

> I see that since FreeBSD 6.3 close() can fail with:
>
> > [ECONNRESET]	The underlying object was a stream socket that was
> > 		shut down by the peer before all pending data was
> > 		delivered.
>
> Could someone explain what this is useful for?

Consistency with SIGPIPE, perhaps?


More information about the freebsd-hackers mailing list