GOutputMessage

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 NULL then the message is sent to the default receiver (as previously set by Socket.connect).

Members

Variables

address
GSocketAddress* address;

a gio.SocketAddress, or NULL

bytesSent
uint bytesSent;

initialize to 0. Will be set to the number of bytes that have been sent

controlMessages
GSocketControlMessage** controlMessages;

a pointer to an array of gio.SocketControlMessages, or NULL.

numControlMessages
uint numControlMessages;

number of elements in control_messages.

numVectors
uint numVectors;

the number of output vectors pointed to by vectors.

vectors
GOutputVector* vectors;

pointer to an array of output vectors

Meta

Since

2.44