OutputMessage

class OutputMessage(pointer: <Error class: unknown class><<Error class: unknown class>>)

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()).

Skipped during bindings generation

  • field control_messages: Fields with arrays are not supported

Since

2.44

Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

a #GSocketAddress, or null

Link copied to clipboard
var bytesSent: <Error class: unknown class>

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

Link copied to clipboard
val gioOutputMessagePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
var numControlMessages: <Error class: unknown class>

number of elements in @control_messages.

Link copied to clipboard
var numVectors: <Error class: unknown class>

the number of output vectors pointed to by @vectors.

Link copied to clipboard

pointer to an array of output vectors