You are here : python_3socketsocketCMSG_SPACE

socket.CMSG_SPACE() - socket

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.


Syntax

socket.CMSG_SPACE(length)


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference