KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros
Socket-level options

Macros

#define SO_ACCEPTCONN   1
 Socket is accepting connections (get) More...
 
#define SO_BROADCAST   2
 Support broadcasting (get/set) More...
 
#define SO_DEBUG   3
 Record debugging info (get/set) More...
 
#define SO_DONTROUTE   4
 Do not route packets (get/set) More...
 
#define SO_ERROR   5
 Retrieve error status (get) More...
 
#define SO_KEEPALIVE   6
 Send keepalive messages (get/set) More...
 
#define SO_LINGER   7
 Socket lingers on close (get/set) More...
 
#define SO_OOBINLINE   8
 OOB data is inline (get/set) More...
 
#define SO_RCVBUF   9
 Receive buffer size (get/set) More...
 
#define SO_RCVLOWAT   10
 Receive low-water mark (get/set) More...
 
#define SO_RCVTIMEO   11
 Receive timeout value (get/set) More...
 
#define SO_REUSEADDR   12
 Reuse local addresses (get/set) More...
 
#define SO_SNDBUF   13
 Send buffer size (get/set) More...
 
#define SO_SNDLOWAT   14
 Send low-water mark (get/set) More...
 
#define SO_SNDTIMEO   15
 Send timeout value (get/set) More...
 
#define SO_TYPE   16
 Socket type (get) More...
 

Detailed Description

These are the various socket-level options that can be accessed with the setsockopt() and getsockopt() functions for the SOL_SOCKET level value.

Not all of these are currently supported, but they are listed for completeness.

See also
IPv6 protocol level options
IPv4 protocol level options
UDP protocol level options

Macro Definition Documentation

#define SO_ACCEPTCONN   1

Socket is accepting connections (get)

#define SO_BROADCAST   2

Support broadcasting (get/set)

#define SO_DEBUG   3

Record debugging info (get/set)

#define SO_DONTROUTE   4

Do not route packets (get/set)

#define SO_ERROR   5

Retrieve error status (get)

#define SO_KEEPALIVE   6

Send keepalive messages (get/set)

#define SO_LINGER   7

Socket lingers on close (get/set)

#define SO_OOBINLINE   8

OOB data is inline (get/set)

#define SO_RCVBUF   9

Receive buffer size (get/set)

#define SO_RCVLOWAT   10

Receive low-water mark (get/set)

#define SO_RCVTIMEO   11

Receive timeout value (get/set)

#define SO_REUSEADDR   12

Reuse local addresses (get/set)

#define SO_SNDBUF   13

Send buffer size (get/set)

#define SO_SNDLOWAT   14

Send low-water mark (get/set)

#define SO_SNDTIMEO   15

Send timeout value (get/set)

#define SO_TYPE   16

Socket type (get)