xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
net
sockets
ip_protection_level.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
../../enum.hpp
"
6
8
#undef unix
10
12
namespace
xtd
{
14
namespace
net
{
16
namespace
sockets
{
31
enum class
ip_protection_level
{
33
unspecified
= -1,
35
unrestricted
= 10,
37
edge_restricted
= 20,
39
restricted
= 30
40
};
41
}
42
}
43
}
44
46
template
<>
struct
xtd::enum_register
<
xtd
::
net::sockets::ip_protection_level
> {
47
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::net::sockets::ip_protection_level>
{{
xtd::net::sockets::ip_protection_level::unspecified
,
"unspecified"
}, {
xtd::net::sockets::ip_protection_level::unrestricted
,
"unrestricted"
}, {
xtd::net::sockets::ip_protection_level::edge_restricted
,
"edge_restricted"
}, {
xtd::net::sockets::ip_protection_level::restricted
,
"restricted"
}};}
48
};
enum.hpp
Contains enum_ and enum_ut_ keywords.
xtd::enum_collection
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
xtd::net::sockets::ip_protection_level
ip_protection_level
A value that enables restriction of an IPv6 socket to a specified scope, such as addresses with the s...
Definition
ip_protection_level.hpp:31
xtd::net::sockets::address_family::unspecified
@ unspecified
Unspecified address family.
Definition
address_family.hpp:34
xtd::net::sockets::ip_protection_level::edge_restricted
@ edge_restricted
The IP protection level is edge restricted. This value would be used by applications designed to oper...
Definition
ip_protection_level.hpp:37
xtd::net::sockets::ip_protection_level::unrestricted
@ unrestricted
The IP protection level is unrestricted. This value would be used by applications designed to operate...
Definition
ip_protection_level.hpp:35
xtd::net::sockets::ip_protection_level::restricted
@ restricted
The IP protection level is restricted. This value would be used by intranet applications that do not ...
Definition
ip_protection_level.hpp:39
xtd::net::sockets::ip_protection_level::unspecified
@ unspecified
The IP protection level is unspecified. On Windows 7 and Windows Server 2008 R2, the default value fo...
Definition
ip_protection_level.hpp:33
xtd::net::sockets
The xtd::net::sockets namespace provides a managed implementation of the Berkeley Sockets interface f...
Definition
address_family.hpp:16
xtd::net
The xtd::net namespace provides a simple programming interface for many of the protocols used on netw...
Definition
cookie_exception.hpp:10
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.