NetBSD-Users archive

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

Re: ENOBUFS when setting SO_SNDBUF



Thor Lancelot Simon <tls%panix.com@localhost> wrote:

> Also, setting this limit by hand disables automatic socket buffer sizing
> for TCP sockets, which is a thing worth keeping in mind.

I also get a ENOBUFS on a writev later. 
kern.sbmax, net.inet.tcp.sendbuf_max and net.inet.tcp.recvbuf_max were
raised a lot without any change. 

What should the program do on a ENOBUFS? Whould it handle it like
EAGAIN?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index