KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Message Flags

Socket message flags More...

Macros

#define MSG_CTRUNC   0x01
 Control data truncated (U)
 
#define MSG_DONTROUTE   0x02
 Send without routing (U)
 
#define MSG_EOR   0x04
 Terminate a record (U)
 
#define MSG_OOB   0x08
 Out-of-band data (U)
 
#define MSG_PEEK   0x10
 Leave received data in queue.
 
#define MSG_TRUNC   0x20
 Normal data truncated (U)
 
#define MSG_WAITALL   0x40
 Attempt to fill read buffer.
 
#define MSG_DONTWAIT   0x80
 Make this call non-blocking (non-standard)
 

Detailed Description

Socket message flags

The following flags can be used with the recv(), recvfrom(), send(), and sendto() functions as the flags parameter.

Note that not all of these are currently supported, but they are listed for completeness. Those that are unsupported have (U) at the end of their description. Also, for the time being, the supported flags are only supported for TCP.

Macro Definition Documentation

◆ MSG_CTRUNC

#define MSG_CTRUNC   0x01

Control data truncated (U)

◆ MSG_DONTROUTE

#define MSG_DONTROUTE   0x02

Send without routing (U)

◆ MSG_DONTWAIT

#define MSG_DONTWAIT   0x80

Make this call non-blocking (non-standard)

◆ MSG_EOR

#define MSG_EOR   0x04

Terminate a record (U)

◆ MSG_OOB

#define MSG_OOB   0x08

Out-of-band data (U)

◆ MSG_PEEK

#define MSG_PEEK   0x10

Leave received data in queue.

◆ MSG_TRUNC

#define MSG_TRUNC   0x20

Normal data truncated (U)

◆ MSG_WAITALL

#define MSG_WAITALL   0x40

Attempt to fill read buffer.