Given a socket(AF_UNIX, SOCK_DGRAM, 0)
, what is the maximal guaranteed datagram size in bytes that can be sent without receiving EMSGSIZE
or any other error number related to invalid message. Another requirement is that this message would be sent atomically, meaning that it will not be split, forcing the receiver of such message to stitch it from parts.
I am looking for a constant that is defined by the POSIX standard, and I wasn't able to find it so far.