Heads up! These docs are for STIX 1.1.1, which is not the latest version (1.2). View the latest!

SocketOptionsTypeNetwork Socket Object Schema

The SocketOptionsType specifies any particular options used by the socket. If an options is supported only by specific address families or socket types, that's indicated in parentheses.


Fields

Field Name Type Description
IP_MULTICAST_IF0..1 StringObjectPropertyType

Set the interface over which outgoing multicast datagrams should be sent (AF_INET / SOCK_DGRAM or SOCK_RAW).

IP_MULTICAST_IF20..1 StringObjectPropertyType

Set the interface over which outgoing multicast datagrams should be sent (AF_INET6 / SOCK_DGRAM or SOCK_RAW) .

IP_MULTICAST_LOOP0..1 boolean

Specify that the sending host receives a copy of an outgoing multicast datagram (AF_INET / SOCK_DGRAM or SOCK_RAW).

IP_TOS0..1 StringObjectPropertyType

Set Type of Service (TOS) and Precedence in the IP header (AF_INET).

SO_BROADCAST0..1 boolean

Enable the socket for issuing messages to a broadcast address (AF_INET / SOCK_DGRAM or SOCK_RAW). (.

SO_CONDITIONAL_ACCEPT0..1 boolean

Allows an application to decide whether or not to accept an incoming connection on a listening socket (Windows only).

SO_KEEPALIVE0..1 boolean

Keep the connection up by sending periodic transmissions (AF_INET or AF_INET6 / SOCK_STREAM).

SO_DONTROUTE0..1 boolean

Bypass normal routing mechanisms (AF_INET or AF_INET6 ).

SO_LINGER0..1 UnsignedIntegerObjectPropertyType

Specifies if the system attempts delivery of or discards any buffered data when a close() is issued.

SO_DONTLINGER0..1 boolean

Complement of SO_LINGER.

SO_OOBINLINE0..1 boolean

Indicates whether out-of-band data is received inline with normal data (AF_INET or AF_INET6).

SO_RCVBUF0..1 UnsignedIntegerObjectPropertyType

Set size of the receive buffer.

SO_GROUP_PRIORITY0..1 UnsignedIntegerObjectPropertyType

Sets the relative priority for the socket in its group (Windows only).

SO_REUSEADDR0..1 boolean

Indicates if the local socket address can be reused (AF_INET or AF_INET6 / SOCK_DGRAM or SOCK_RAW).

SO_DEBUG0..1 boolean

Indicates if low-level debugging is active.

SO_RCVTIMEO0..1 UnsignedIntegerObjectPropertyType

Set the receive timeout value.

SO_SNDBUF0..1 UnsignedIntegerObjectPropertyType

Set size of the send buffer.

SO_SNDTIMEO0..1 UnsignedIntegerObjectPropertyType

Set the send timeout value.

SO_UPDATE_ACCEPT_CONTEXT0..1 UnsignedIntegerObjectPropertyType

Updates the properties of the socket which are inherited from the listening socket (Windows only).

SO_TIMEOUT0..1 UnsignedIntegerObjectPropertyType

Set the socket timeout.

TCP_NODELAY0..1 boolean

When set, TCP will send data immediately instead of using the Nagle delay algorithm (AF_INET or AF_INET6 / SOCK_STREAM). (.