PyDocs

Nav

Networking and Interprocess Communication

CMSG_SPACE

socket

function · Added in 3.3Unixnot WASI
  • CMSG_SPACE(length)
CMSG_SPACE(length) -> buffer size

Return the buffer size needed for recvmsg() to receive an ancillary
data item with associated data of the given length, along with any
trailing padding.  The buffer space needed to receive multiple items
is the sum of the CMSG_SPACE() values for their associated data
lengths.  Raises OverflowError if length is outside the permissible
range of values.
0 Examples
No examples for socket/CMSG_SPACE.
See Also
No see-alsos for socket/CMSG_SPACE
0 Notes
No notes for CMSG_SPACE