[ CCode ( cprefix = "G_SOCKET_MSG_" , type_id = "g_socket_msg_flags_get_type ()" ) ]
[ Flags ]
[ Version ( since = "2.22" ) ]
public enum SocketMsgFlags
Flags used in receive_message and
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.
- DONTROUTE - Don't use a gateway to
send out the packet, only send to hosts on directly connected networks.
- NONE - No flags.
- OOB - Request to send/receive out of
- PEEK - Read data from the socket
without removing it from the queue.