Socket Option Name#
Macros#
Enables recording of debugging information. This option is not supported in the current release.
Indicates that the socket has had listen(). This option is not supported in the current release.
Allows local address reuse. This option is not supported in the current release.
Keeps connections alive.
Uses interface addresses only. This option is not supported in the current release.
Permits sending of broadcast messages. This option is not supported in the current release.
Bypasses hardware when possible. This option is not supported in the current release.
Lingers on close if data is present. This option is not supported in the current release.
Leaves received out-of-band data in line. This option is not supported in the current release.
Allows local address and port reuse. This option is not supported in the current release.
Timestamps received datagram traffic. This option is not supported in the current release.
Allows binding to any address. This option is not supported in the current release.
Zeroes out all mbufs sent over the socket. This option is not supported in the current release.
Configures max retransmission timeout value. The option value associated with this option name should be a power of 2 between 1 and 32.
Sets send buffer size.
Sets receive buffer size.
Sets send low-water mark. This option is not supported in the current release.
Sets receive low-water mark. This option is not supported in the current release.
Sets send timeout. This option is not supported in the current release.
Sets receive timeout.
Gets error status and clears.
Gets socket type.
Multiplexes; network processing. This option is not supported in the current release.
Sets routing table to be used. This option is not supported in the current release.
Gets connect-time credentials. This option is not supported in the current release.
Splices data to another socket. This option is not supported in the current release.
Gets socket domain.
Gets socket protocol.
Sets certificate index for SSL socket.
Enables high-performance socket.
Passes SNI extension for SSL socket.
Passes ALPN extension for SSL socket.
Macro Definition Documentation#
SO_DEBUG#
#define SO_DEBUGValue:
0x0001
Enables recording of debugging information. This option is not supported in the current release.
82
of file components/service/bsd_socket/inc/socket.h
SO_ACCEPTCONN#
#define SO_ACCEPTCONNValue:
0x0002
Indicates that the socket has had listen(). This option is not supported in the current release.
83
of file components/service/bsd_socket/inc/socket.h
SO_REUSEADDR#
#define SO_REUSEADDRValue:
0x0004
Allows local address reuse. This option is not supported in the current release.
84
of file components/service/bsd_socket/inc/socket.h
SO_KEEPALIVE#
#define SO_KEEPALIVEValue:
0x0008
Keeps connections alive.
85
of file components/service/bsd_socket/inc/socket.h
SO_DONTROUTE#
#define SO_DONTROUTEValue:
0x0010
Uses interface addresses only. This option is not supported in the current release.
86
of file components/service/bsd_socket/inc/socket.h
SO_BROADCAST#
#define SO_BROADCASTValue:
0x0020
Permits sending of broadcast messages. This option is not supported in the current release.
87
of file components/service/bsd_socket/inc/socket.h
SO_USELOOPBACK#
#define SO_USELOOPBACKValue:
0x0040
Bypasses hardware when possible. This option is not supported in the current release.
88
of file components/service/bsd_socket/inc/socket.h
SO_LINGER#
#define SO_LINGERValue:
0x0080
Lingers on close if data is present. This option is not supported in the current release.
89
of file components/service/bsd_socket/inc/socket.h
SO_OOBINLINE#
#define SO_OOBINLINEValue:
0x0100
Leaves received out-of-band data in line. This option is not supported in the current release.
90
of file components/service/bsd_socket/inc/socket.h
SO_REUSEPORT#
#define SO_REUSEPORTValue:
0x0200
Allows local address and port reuse. This option is not supported in the current release.
91
of file components/service/bsd_socket/inc/socket.h
SO_TIMESTAMP#
#define SO_TIMESTAMPValue:
0x0800
Timestamps received datagram traffic. This option is not supported in the current release.
92
of file components/service/bsd_socket/inc/socket.h
SO_BINDANY#
#define SO_BINDANYValue:
0x1000
Allows binding to any address. This option is not supported in the current release.
93
of file components/service/bsd_socket/inc/socket.h
SO_ZEROIZE#
#define SO_ZEROIZEValue:
0x2000
Zeroes out all mbufs sent over the socket. This option is not supported in the current release.
94
of file components/service/bsd_socket/inc/socket.h
SO_MAX_RETRANSMISSION_TIMEOUT_VALUE#
#define SO_MAX_RETRANSMISSION_TIMEOUT_VALUEValue:
0x3012
Configures max retransmission timeout value. The option value associated with this option name should be a power of 2 between 1 and 32.
95
of file components/service/bsd_socket/inc/socket.h
SO_SNDBUF#
#define SO_SNDBUFValue:
0x1001
Sets send buffer size.
99
of file components/service/bsd_socket/inc/socket.h
SO_RCVBUF#
#define SO_RCVBUFValue:
0x1002
Sets receive buffer size.
100
of file components/service/bsd_socket/inc/socket.h
SO_SNDLOWAT#
#define SO_SNDLOWATValue:
0x1003
Sets send low-water mark. This option is not supported in the current release.
101
of file components/service/bsd_socket/inc/socket.h
SO_RCVLOWAT#
#define SO_RCVLOWATValue:
0x1004
Sets receive low-water mark. This option is not supported in the current release.
102
of file components/service/bsd_socket/inc/socket.h
SO_SNDTIMEO#
#define SO_SNDTIMEOValue:
0x1005
Sets send timeout. This option is not supported in the current release.
103
of file components/service/bsd_socket/inc/socket.h
SO_RCVTIMEO#
#define SO_RCVTIMEOValue:
0x1006
Sets receive timeout.
104
of file components/service/bsd_socket/inc/socket.h
SO_ERROR#
#define SO_ERRORValue:
0x1007
Gets error status and clears.
105
of file components/service/bsd_socket/inc/socket.h
SO_TYPE#
#define SO_TYPEValue:
0x1008
Gets socket type.
106
of file components/service/bsd_socket/inc/socket.h
SO_NETPROC#
#define SO_NETPROCValue:
0x1020
Multiplexes; network processing. This option is not supported in the current release.
107
of file components/service/bsd_socket/inc/socket.h
SO_RTABLE#
#define SO_RTABLEValue:
0x1021
Sets routing table to be used. This option is not supported in the current release.
108
of file components/service/bsd_socket/inc/socket.h
SO_PEERCRED#
#define SO_PEERCREDValue:
0x1022
Gets connect-time credentials. This option is not supported in the current release.
109
of file components/service/bsd_socket/inc/socket.h
SO_SPLICE#
#define SO_SPLICEValue:
0x1023
Splices data to another socket. This option is not supported in the current release.
110
of file components/service/bsd_socket/inc/socket.h
SO_DOMAIN#
#define SO_DOMAINValue:
0x1024
Gets socket domain.
111
of file components/service/bsd_socket/inc/socket.h
SO_PROTOCOL#
#define SO_PROTOCOLValue:
0x1025
Gets socket protocol.
112
of file components/service/bsd_socket/inc/socket.h
SL_SO_CERT_INDEX#
#define SL_SO_CERT_INDEXValue:
0x1026
Sets certificate index for SSL socket.
116
of file components/service/bsd_socket/inc/socket.h
SL_SO_HIGH_PERFORMANCE_SOCKET#
#define SL_SO_HIGH_PERFORMANCE_SOCKETValue:
0x1027
Enables high-performance socket.
117
of file components/service/bsd_socket/inc/socket.h
SL_SO_TLS_SNI#
#define SL_SO_TLS_SNIValue:
0x1028
Passes SNI extension for SSL socket.
118
of file components/service/bsd_socket/inc/socket.h
SL_SO_TLS_ALPN#
#define SL_SO_TLS_ALPNValue:
0x1029
Passes ALPN extension for SSL socket.
119
of file components/service/bsd_socket/inc/socket.h