xtd 0.2.0
Loading...
Searching...
No Matches
socket_option_level_constants.h
Go to the documentation of this file.
1
5#pragma once
7#if !defined(__XTD_CORE_NATIVE_LIBRARY__)
8#error "Do not include this file: Internal use only"
9#endif
11
12#include <cstdint>
13
20constexpr int32_t SOCKET_OPTION_LEVEL_SOCKET = 65535;
21
28constexpr int32_t SOCKET_OPTION_LEVEL_IP = 0;
29
36constexpr int32_t SOCKET_OPTION_LEVEL_IP_V6 = 41;
37
44constexpr int32_t SOCKET_OPTION_LEVEL_TCP = 6;
45
52constexpr int32_t SOCKET_OPTION_LEVEL_UDP = 17;
constexpr int32_t SOCKET_OPTION_LEVEL_SOCKET
Socket options apply to all sockets.
Definition socket_option_level_constants.h:20
constexpr int32_t SOCKET_OPTION_LEVEL_TCP
Socket options apply only to TCP sockets.
Definition socket_option_level_constants.h:44
constexpr int32_t SOCKET_OPTION_LEVEL_UDP
Socket options apply only to UDP sockets.
Definition socket_option_level_constants.h:52
constexpr int32_t SOCKET_OPTION_LEVEL_IP_V6
Socket options apply only to IPv6 sockets.
Definition socket_option_level_constants.h:36
constexpr int32_t SOCKET_OPTION_LEVEL_IP
Socket options apply only to IP sockets.
Definition socket_option_level_constants.h:28