Struct
GioOutputMessage
since: 2.44
Description [src]
struct GOutputMessage {
GSocketAddress* address;
GOutputVector* vectors;
guint num_vectors;
guint bytes_sent;
GSocketControlMessage* control_messages[];
guint num_control_messages;
}
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 g_socket_connect()).
Structure members
address:
GSocketAddress
A
GSocketAddress
, orNULL
.vectors:
GOutputVector
Pointer to an array of output vectors.
num_vectors:
guint
The number of output vectors pointed to by
vectors
.bytes_sent:
guint
Initialize to 0. Will be set to the number of bytes that have been sent.
control_messages:
GSocketControlMessage
A pointer to an array of
GSocketControlMessages
, orNULL
.num_control_messages:
guint
Number of elements in
control_messages
.
Available since: 2.44