xtd 0.2.0
Loading...
Searching...
No Matches
socket_option_level.h
Go to the documentation of this file.
1
4#pragma once
5#include "../../enum.h"
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.h:74
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:31
std::vector< xtd::collections::generic::key_value_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.h:22
@ ip_v6
Socket options apply only to IPv6 sockets.
@ socket
Socket options apply to all sockets.
@ udp
Socket options apply only to UDP sockets.
@ ip
Socket options apply only to IP sockets.
@ tcp
Socket options apply only to TCP sockets.
@ ip_v6
Internet Protocol version 6 (IPv6).
@ udp
User Datagram Protocol.
@ tcp
Transmission Control Protocol.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:38