w...@netbsd.org (Thomas Klausner) writes:

>On my machine, the attached program (which sets the send and receive
>buffers for a socketpair() to 1MB each) works, on pin@'s it doesn't.

>Which limits restrict this?

# kernel limit for socket buffers
sysctl: kern.sbmax

# process limit for socket buffers
rlimit: sbsize

also

# kernel limit for all socket buffers
sysctl: kern.somaxkva

Reply via email to