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 {
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
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
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
@ 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:36