socket option name definitions.
Variables | |
constexpr int32_t | SOCKET_OPTION_NAME_DEBUG |
Record debugging information. | |
constexpr int32_t | SOCKET_OPTION_NAME_ACCEPT_CONNECTION |
The socket is listening. | |
constexpr int32_t | SOCKET_OPTION_NAME_REUSE_ADDRESS |
Allows the socket to be bound to an address that is already in use. | |
constexpr int32_t | SOCKET_OPTION_NAME_KEEP_ALIVE |
Use keep-alive. | |
constexpr int32_t | SOCKET_OPTION_NAME_DONT_ROUTE |
Do not route; send the packet directly to the interface addresses. | |
constexpr int32_t | SOCKET_OPTION_NAME_BROADCAST |
Permit sending broadcast messages on the socket. | |
constexpr int32_t | SOCKET_OPTION_NAME_USE_LOOPBACK |
Bypass hardware when possible. | |
constexpr int32_t | SOCKET_OPTION_NAME_LINGER |
Linger on close if unsent data is present. | |
constexpr int32_t | SOCKET_OPTION_NAME_OUT_OF_BAND_INLINE |
Receives out-of-band data in the normal data stream. | |
constexpr int32_t | SOCKET_OPTION_NAME_DONT_LINGER |
Close the socket gracefully without lingering. | |
constexpr int32_t | SOCKET_OPTION_NAME_EXCLUSIVE_ADDRESS_USE |
Enables a socket to be bound for exclusive access. | |
constexpr int32_t | SOCKET_OPTION_NAME_SEND_BUFFER |
Specifies the total per-socket buffer space reserved for sends. This is unrelated to the maximum message size or the size of a TCP window. | |
constexpr int32_t | SOCKET_OPTION_NAME_RECEIVE_BUFFER |
Specifies the total per-socket buffer space reserved for receives. This is unrelated to the maximum message size or the size of a TCP window. | |
constexpr int32_t | SOCKET_OPTION_NAME_SEND_LOW_WATER |
Specifies the low water mark for xtd::net::sockets::socket::send operations. | |
constexpr int32_t | SOCKET_OPTION_NAME_RECEIVE_LOW_WATER |
Specifies the low water mark for xtd::net::sockets::socket::receive operations. | |
constexpr int32_t | SOCKET_OPTION_NAME_SEND_TIMEOUT |
Send a time-out. This option applies only to synchronous methods; it has no effect on asynchronous methods such as the xtd::net::sockets::socket::begin_send method. | |
constexpr int32_t | SOCKET_OPTION_NAME_RECEIVE_TIMEOUT |
Receive a time-out. This option applies only to synchronous methods; it has no effect on asynchronous methods such as the xtd::net::sockets::socket::begin_send method. | |
constexpr int32_t | SOCKET_OPTION_NAME_ERROR |
Gets the error status and clear. | |
constexpr int32_t | SOCKET_OPTION_NAME_TYPE |
Gets the socket type. | |
constexpr int32_t | SOCKET_OPTION_NAME_MAX_CONNECTION |
Not supported; will throw a xtd::net::sockets::socket_exception exception if used. | |
constexpr int32_t | SOCKET_OPTION_NAME_IP_OPTIONS |
Specifies the IP options to be inserted into outgoing datagrams. | |
constexpr int32_t | SOCKET_OPTION_NAME_HEADER_INCLUDED |
Indicates that the application provides the IP header for outgoing datagrams. | |
constexpr int32_t | SOCKET_OPTION_NAME_TYPE_OF_SERVICE |
Change the IP header type of the service field. | |
constexpr int32_t | SOCKET_OPTION_NAME_IP_TIME_TO_LIVE |
Sets the IP header Time-to-Live field. | |
constexpr int32_t | SOCKET_OPTION_NAME_MULTICAST_INTERFACE |
Sets the interface for outgoing multicast packets. | |
constexpr int32_t | SOCKET_OPTION_NAME_MULTICAST_TIME_TO_LIVE |
An IP multicast Time to Live. | |
constexpr int32_t | SOCKET_OPTION_NAME_MULTICAST_LOOPBACK |
An IP multicast loopback. | |
constexpr int32_t | SOCKET_OPTION_NAME_ADD_MEMBERSHIP |
Add an IP group membership. | |
constexpr int32_t | SOCKET_OPTION_NAME_DROP_MEMBERSHIP |
Drop an IP group membership. | |
constexpr int32_t | SOCKET_OPTION_NAME_DONT_FRAGMENT |
Do not fragment IP datagrams. | |
constexpr int32_t | SOCKET_OPTION_NAME_ADD_SOURCE_MEMBERSHIP |
Join a source group. | |
constexpr int32_t | SOCKET_OPTION_NAME_DROP_SOURCE_MEMBERSHIP |
Drop a source group. | |
constexpr int32_t | SOCKET_OPTION_NAME_BLOCK_SOURCE |
Block data from a source. | |
constexpr int32_t | SOCKET_OPTION_NAME_UNBLOCK_SOURCE |
Unblock a previously blocked source. | |
constexpr int32_t | SOCKET_OPTION_NAME_PACKET_INFORMATION |
Return information about received packets. | |
constexpr int32_t | SOCKET_OPTION_NAME_HOP_LIMIT |
Specifies the maximum number of router hops for an Internet Protocol version 6 (IPv6) packet. This is similar to Time to Live (TTL) for Internet Protocol version 4. | |
constexpr int32_t | SOCKET_OPTION_NAME_IP_PROTECT_LEVEL |
Enables restriction of a IPv6 socket to a specified scope, such as addresses with the same link local or site local prefix.This socket option enables applications to place access restrictions on IPv6 sockets. Such restrictions enable an application running on a private LAN to simply and robustly harden itself against external attacks. This socket option widens or narrows the scope of a listening socket, enabling unrestricted access from public and private users when appropriate, or restricting access only to the same site, as required. This socket option has defined protection levels specified in the xtd::net::sockets::ip_protection_level enumeration. | |
constexpr int32_t | SOCKET_OPTION_NAME_IP_V6_ONLY |
Indicates if a socket created for the AF_INET6 address family is restricted to IPv6 communications only. Sockets created for the AF_INET6 address family may be used for both IPv6 and IPv4 communications. Some applications may want to restrict their use of a socket created for the AF_INET6 address family to IPv6 communications only. When this value is non-zero (the default on Windows), a socket created for the AF_INET6 address family can be used to send and receive IPv6 packets only. When this value is zero, a socket created for the AF_INET6 address family can be used to send and receive packets to and from an IPv6 address or an IPv4 address. Note that the ability to interact with an IPv4 address requires the use of IPv4 mapped addresses. This socket option is supported on Windows Vista or later. | |
constexpr int32_t | SOCKET_OPTION_NAME_NO_DELAY |
Disables the Nagle algorithm for send coalescing. | |
constexpr int32_t | SOCKET_OPTION_NAME_BSD_URGENT |
Use urgent data as defined in RFC-1222. This option can be set only once; after it is set, it cannot be turned off. | |
constexpr int32_t | SOCKET_OPTION_NAME_EXPEDITED |
Use expedited data as defined in RFC-1222. This option can be set only once; after it is set, it cannot be turned off. | |
constexpr int32_t | SOCKET_OPTION_NAME_NO_CHECKSUM |
Send UDP datagrams with checksum set to zero. | |
constexpr int32_t | SOCKET_OPTION_NAME_CHECKSUM_COVERAGE |
Sets or get the UDP checksum coverage. | |
constexpr int32_t | SOCKET_OPTION_NAME_UPDATE_ACCEPT_CONTEXT |
Updates an accepted socket's properties by using those of an existing socket. This is equivalent to using the Winsock2 SO_UPDATE_ACCEPT_CONTEXT socket option and is supported only on connection-oriented sockets. | |
constexpr int32_t | SOCKET_OPTION_NAME_UPDATE_CONNECT_CONTEXT |
Updates a connected socket's properties by using those of an existing socket. This is equivalent to using the Winsock2 SO_UPDATE_CONNECT_CONTEXT socket option and is supported only on connection-oriented sockets. | |
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Record debugging information.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
The socket is listening.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Allows the socket to be bound to an address that is already in use.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Use keep-alive.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Do not route; send the packet directly to the interface addresses.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Permit sending broadcast messages on the socket.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Bypass hardware when possible.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Linger on close if unsent data is present.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Receives out-of-band data in the normal data stream.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Close the socket gracefully without lingering.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Enables a socket to be bound for exclusive access.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Specifies the total per-socket buffer space reserved for sends. This is unrelated to the maximum message size or the size of a TCP window.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Specifies the total per-socket buffer space reserved for receives. This is unrelated to the maximum message size or the size of a TCP window.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Specifies the low water mark for xtd::net::sockets::socket::send operations.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Specifies the low water mark for xtd::net::sockets::socket::receive operations.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Send a time-out. This option applies only to synchronous methods; it has no effect on asynchronous methods such as the xtd::net::sockets::socket::begin_send method.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Receive a time-out. This option applies only to synchronous methods; it has no effect on asynchronous methods such as the xtd::net::sockets::socket::begin_send method.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Gets the error status and clear.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Gets the socket type.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Not supported; will throw a xtd::net::sockets::socket_exception exception if used.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Specifies the IP options to be inserted into outgoing datagrams.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Indicates that the application provides the IP header for outgoing datagrams.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Change the IP header type of the service field.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Sets the IP header Time-to-Live field.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Sets the interface for outgoing multicast packets.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
An IP multicast Time to Live.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
An IP multicast loopback.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Add an IP group membership.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Drop an IP group membership.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Do not fragment IP datagrams.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Join a source group.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Drop a source group.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Block data from a source.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Unblock a previously blocked source.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Return information about received packets.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Specifies the maximum number of router hops for an Internet Protocol version 6 (IPv6) packet. This is similar to Time to Live (TTL) for Internet Protocol version 4.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Enables restriction of a IPv6 socket to a specified scope, such as addresses with the same link local or site local prefix.This socket option enables applications to place access restrictions on IPv6 sockets. Such restrictions enable an application running on a private LAN to simply and robustly harden itself against external attacks. This socket option widens or narrows the scope of a listening socket, enabling unrestricted access from public and private users when appropriate, or restricting access only to the same site, as required. This socket option has defined protection levels specified in the xtd::net::sockets::ip_protection_level enumeration.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Indicates if a socket created for the AF_INET6 address family is restricted to IPv6 communications only. Sockets created for the AF_INET6 address family may be used for both IPv6 and IPv4 communications. Some applications may want to restrict their use of a socket created for the AF_INET6 address family to IPv6 communications only. When this value is non-zero (the default on Windows), a socket created for the AF_INET6 address family can be used to send and receive IPv6 packets only. When this value is zero, a socket created for the AF_INET6 address family can be used to send and receive packets to and from an IPv6 address or an IPv4 address. Note that the ability to interact with an IPv4 address requires the use of IPv4 mapped addresses. This socket option is supported on Windows Vista or later.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Disables the Nagle algorithm for send coalescing.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Use urgent data as defined in RFC-1222. This option can be set only once; after it is set, it cannot be turned off.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Use expedited data as defined in RFC-1222. This option can be set only once; after it is set, it cannot be turned off.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Send UDP datagrams with checksum set to zero.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Sets or get the UDP checksum coverage.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Updates an accepted socket's properties by using those of an existing socket. This is equivalent to using the Winsock2 SO_UPDATE_ACCEPT_CONTEXT socket option and is supported only on connection-oriented sockets.
|
constexpr |
#include <xtd.core.native/include/xtd/native/socket_option_name_constants.hpp>
Updates a connected socket's properties by using those of an existing socket. This is equivalent to using the Winsock2 SO_UPDATE_CONNECT_CONTEXT socket option and is supported only on connection-oriented sockets.