NetBSD-Users archive

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

Re: ENOBUFS when setting SO_SNDBUF



On Tue, Oct 12, 2010 at 05:37:25AM +0200, Emmanuel Dreyfus wrote:
> Thor Lancelot Simon <tls%panix.com@localhost> wrote:
> 
> > > I get ENOBUFS on writev() if I set SO_SNDBUF to FUSE_BUFSIZE or if I
> > > leave it untouched. If I set it to (4 * FUSE_BUFSIZE), it works.
> > 
> > This is a TCP socket?
> 
> It is PF_LOCAL/SOCK_DGRAM socket.

Well.  In that case, there's no auto-sizing of anything.  ENOBUFS seems
like the wrong error return for writev() if you try to send a datagram larger
than the send buffer size, but it's not implausible.

Thor


Home | Main Index | Thread Index | Old Index