twisted.python.sendmsg.sendmsg(socket, data, ancillary=[], flags=0)
function documentationtwisted.python.sendmsg
View Source
Send a message on a socket.
Parameters | socket | The socket to send the message on. (type: socket.socket ) |
data | Bytes to write to the socket. (type: bytes) | |
ancillary | Extra data to send over the socket outside of the normal datagram or stream
mechanism. By default no ancillary data is sent. (type: list of tuple of int ,
int , and bytes .) | |
flags | Flags 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 ) | |
Returns | The return value of the underlying syscall, if it succeeds. |