Skip to content

Gio.OutputMessage

record (struct)

Structure used for scatter/gather data output when sending multiple messages or packets in one go. You generally pass in an array of GOutputVectors and the operation will use all the buffers as if they were one buffer.

If address is None then the message is sent to the default receiver (as previously set by Socket.connect).

Properties

address

address: SocketAddress  # read/write

vectors

vectors: OutputVector  # read/write

num_vectors

num_vectors: int  # read/write

bytes_sent

bytes_sent: int  # read/write

control_messages

control_messages: list[SocketControlMessage]  # read/write

num_control_messages

num_control_messages: int  # read/write