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

Socket-level options More...

Macros

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

Detailed Description

Socket-level options

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
Options
Options
UDP Options

Macro Definition Documentation

◆ SO_ACCEPTCONN

#define SO_ACCEPTCONN   1

Socket is accepting connections (get)

◆ SO_BROADCAST

#define SO_BROADCAST   2

Support broadcasting (get/set)

◆ SO_DEBUG

#define SO_DEBUG   3

Record debugging info (get/set)

◆ SO_DONTROUTE

#define SO_DONTROUTE   4

Do not route packets (get/set)

◆ SO_ERROR

#define SO_ERROR   5

Retrieve error status (get)

◆ SO_KEEPALIVE

#define SO_KEEPALIVE   6

Send keepalive messages (get/set)

◆ SO_LINGER

#define SO_LINGER   7

Socket lingers on close (get/set)

◆ SO_OOBINLINE

#define SO_OOBINLINE   8

OOB data is inline (get/set)

◆ SO_RCVBUF

#define SO_RCVBUF   9

Receive buffer size (get/set)

◆ SO_RCVLOWAT

#define SO_RCVLOWAT   10

Receive low-water mark (get/set)

◆ SO_RCVTIMEO

#define SO_RCVTIMEO   11

Receive timeout value (get/set)

◆ SO_REUSEADDR

#define SO_REUSEADDR   12

Reuse local addresses (get/set)

◆ SO_SNDBUF

#define SO_SNDBUF   13

Send buffer size (get/set)

◆ SO_SNDLOWAT

#define SO_SNDLOWAT   14

Send low-water mark (get/set)

◆ SO_SNDTIMEO

#define SO_SNDTIMEO   15

Send timeout value (get/set)

◆ SO_TYPE

#define SO_TYPE   16

Socket type (get)