Gio.SocketMsgFlags

Flags used in Gio.Socket.prototype.receive_message and Gio.Socket.prototype.send_message. The flags listed in the enum are some commonly available flags, but the values used for them are the same as on the platform, and any other flags are passed in/out as is. So to use a platform specific flag, just include the right system header and pass in the flag.

Since 2.22

SocketMsgFlags.NONE

No flags.

SocketMsgFlags.OOB

Request to send/receive out of band data.

SocketMsgFlags.PEEK

Read data from the socket without removing it from the queue.

SocketMsgFlags.DONTROUTE

Don't use a gateway to send out the packet, only send to hosts on directly connected networks.