xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
net
sockets
socket_shutdown.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
socket_shutdown
{
33
receive
= 0,
35
send
= 1,
37
both
= 2
38
};
39
42
}
43
}
44
}
45
47
template
<>
struct
xtd::enum_register
<
xtd
::
net::sockets::socket_shutdown
> {
48
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::net::sockets::socket_shutdown>
{{
xtd::net::sockets::socket_shutdown::receive
,
"receive"
}, {
xtd::net::sockets::socket_shutdown::send
,
"send"
}, {
xtd::net::sockets::socket_shutdown::both
,
"both"
}};}
49
};
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::socket_shutdown
socket_shutdown
Defines constants that are used by the xtd::net::sockets::socket::shutdown method.
Definition
socket_shutdown.hpp:31
xtd::net::sockets::socket_async_operation::send
@ send
A socket send operation.
Definition
socket_async_operation.hpp:48
xtd::net::sockets::socket_async_operation::receive
@ receive
A socket receive operation.
Definition
socket_async_operation.hpp:42
xtd::net::sockets::socket_shutdown::send
@ send
Disables a xtd::net::sockets::socket for sending. This field is constant.
Definition
socket_shutdown.hpp:35
xtd::net::sockets::socket_shutdown::receive
@ receive
Disables a xtd::net::sockets::socket for receiving. This field is constant.
Definition
socket_shutdown.hpp:33
xtd::net::sockets::socket_shutdown::both
@ both
Disables a xtd::net::sockets::socket for both sending and receiving. This field is constant.
Definition
socket_shutdown.hpp:37
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.