xtd 0.2.0
socket_option_level.h
Go to the documentation of this file.
1 #pragma once
5 #include "../../enum.h"
6 
8 #undef unix
9 
12 namespace xtd {
14  namespace net {
16  namespace sockets {
29  enum class socket_option_level {
31  socket = 65535,
33  ip = 0,
35  ip_v6 = 41,
37  tcp = 6,
39  udp = 17,
40  };
41  }
42  }
43 }
44 
48 };
Implements the Berkeley sockets interface.
Definition: socket.h:71
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Internet Protocol version 6 (IPv6).
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
Transmission Control Protocol.
Socket options apply to all sockets.
socket_option_level
Defines socket option levels for the xtd::net::sockets::socket::set_socket_option and xtd::net::socke...
Definition: socket_option_level.h:29
Provides the registration struct for enumerations.
Definition: enum_register.h:36