Subject: Re: unix domain datagram socket buffering bug?
To: David Laight <david@l8s.co.uk>
From: Matt Thomas <matt@3am-software.com>
List: tech-kern
Date: 04/10/2003 10:27:25
At 09:05 AM 4/10/2003, David Laight wrote:
>On Thu, Apr 10, 2003 at 09:02:59AM -0700, Jesse Off wrote:
> > When the receive buffer fills in one socket from a
> > socketpair(PF_LOCAL, SOCK_DGRAM), I've noticed that
> > subsequent write()s to the other socket will fail with
> > EINVAL.
>
>I would expect it to block, unless O_NONBLOCK is set
>in which case it should return EAGAIN.

I'd never would have expected socketpair to work with
SOCK_DGRAM.


-- 
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message