KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros
Socket message flags

Macros

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

Detailed Description

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

#define MSG_CTRUNC   0x01

Control data truncated (U)

#define MSG_DONTROUTE   0x02

Send without routing (U)

#define MSG_DONTWAIT   0x80

Make this call non-blocking (non-standard)

#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.