:right-sidebar: True SocketMsgFlags =================================================================== .. currentmodule:: gi.repository.Gio .. versionadded:: 2.22 .. class:: SocketMsgFlags :no-contents-entry: Flags used in :func:`~gi.repository.Gio.Socket.receive_message` and :func:`~gi.repository.Gio.Socket.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. Fields ------ .. rst-class:: interim-class .. class:: SocketMsgFlags :no-index: .. attribute:: DONTROUTE Don't use a gateway to send out the packet, only send to hosts on directly connected networks. .. attribute:: NONE No flags. .. attribute:: OOB Request to send/receive out of band data. .. attribute:: PEEK Read data from the socket without removing it from the queue.