xtd 0.2.0
socket_option_level.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../../enum.hpp"
6
8#undef unix
10
12namespace xtd {
14 namespace net {
16 namespace sockets {
33 socket = 65535,
35 ip = 0,
37 ip_v6 = 41,
39 tcp = 6,
41 udp = 17,
42 };
43 }
44 }
45}
46
50};
Implements the Berkeley sockets interface.
Definition socket.hpp:77
Contains enum_ and enum_ut_ keywords.
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition enum_collection.hpp:24
socket_option_level
Defines socket option levels for the xtd::net::sockets::socket::set_socket_option and xtd::net::socke...
Definition socket_option_level.hpp:31
@ ip_v6
Socket options apply only to IPv6 sockets.
Definition socket_option_level.hpp:37
@ socket
Socket options apply to all sockets.
Definition socket_option_level.hpp:33
@ udp
Socket options apply only to UDP sockets.
Definition socket_option_level.hpp:41
@ ip
Socket options apply only to IP sockets.
Definition socket_option_level.hpp:35
@ tcp
Socket options apply only to TCP sockets.
Definition socket_option_level.hpp:39
@ ip_v6
Internet Protocol version 6 (IPv6).
Definition protocol_type.hpp:56
@ udp
User Datagram Protocol.
Definition protocol_type.hpp:52
@ ip
Internet Protocol.
Definition protocol_type.hpp:38
@ tcp
Transmission Control Protocol.
Definition protocol_type.hpp:48
The xtd::net::sockets namespace provides a managed implementation of the Berkeley Sockets interface f...
Definition address_family.hpp:16
The xtd::net namespace provides a simple programming interface for many of the protocols used on netw...
Definition cookie_exception.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Provides the registration struct for enumerations.
Definition enum_register.hpp:38