SocketMsgFlags#

Added in version 2.22.

class SocketMsgFlags#

Flags used in receive_message() and 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#

class SocketMsgFlags
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 band data.

PEEK#

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