Recieve a message on a socket.

ParameterssocketThe socket to recieve the message on. (type: socket.socket)
maxSizeThe maximum number of bytes to receive from the socket using the datagram or stream mechanism. The default maximum is 8192. (type: int)
cmsgSizeThe maximum number of bytes to receive from the socket outside of the normal datagram or stream mechanism. The default maximum is 4096. (type: int)
flagsFlags to affect how the message is sent. See the MSG_ constants in the sendmsg(2) manual page. By default no flags are set. (type: int)
ReturnsA named 3-tuple of the bytes recieved using the datagram/stream mechanism, a list of tuples giving ancillary recieved data, and flags as an int describing the data recieved.
API Documentation for Twisted, generated by pydoctor at 2016-05-18 16:01:36.