Can local message-based sockets transfer messages up to the SO_SNDBUF/SO_RCVBUF limits, or where can the so-called ‘fixed maximum length’ be determined for a descriptor created with socket(PF_UNIX, SOCK_SEQPACKET, 0) or socket(PF_UNIX, SOCK_DGRAM, 0)?
Can local message-based sockets transfer messages up to the SO_SNDBUF/SO_RCVBUF limits, or where can
Share
from
man unixThe SO_SNDBUF socket option does have an effect for Unix domain sock‐
ets, but the SO_RCVBUF option does not. For datagram sockets, the
SO_SNDBUF value imposes an upper limit on the size of outgoing data‐
grams. This limit is calculated as the doubled (see socket(7)) option
value less 32 bytes used for overhead.