Package org.gnome.gio

Class InputMessage

java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.gio.InputMessage
All Implemented Interfaces:
Proxy

@Generated("io.github.jwharm.JavaGI") public class InputMessage extends ProxyInstance
Structure used for scatter/gather data input when receiving multiple messages or packets in one go. You generally pass in an array of empty GInputVectors and the operation will use all the buffers as if they were one buffer, and will set bytesReceived to the total number of bytes received across all GInputVectors.

This structure closely mirrors struct mmsghdr and struct msghdr from the POSIX sockets API (see man 2 recvmmsg).

If address is non-null then it is set to the source address the message was received from, and the caller must free it afterwards.

If controlMessages is non-null then it is set to an array of control messages received with the message (if any), and the caller must free it afterwards. numControlMessages is set to the number of elements in this array, which may be zero.

Flags relevant to this message will be returned in flags. For example, MSG_EOR or MSG_TRUNC.