xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
net
sockets
socket_information_options.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_information_options
{
33
none
= 0x00,
35
non_blocking
= 0x01,
37
connected
= 0x02,
39
listening
= 0x04,
41
use_only_overlapped_io
= 0x08,
42
};
43
}
44
}
45
}
46
48
flags_attribute_
(
xtd::net::sockets
, socket_information_options);
49
50
template
<>
struct
xtd::enum_register
<
xtd
::
net::sockets::socket_information_options
> {
51
static
auto
values
() noexcept {
return
xtd::enum_collection<xtd::net::sockets::socket_information_options>
{{
xtd::net::sockets::socket_information_options::none
,
"none"
}, {
xtd::net::sockets::socket_information_options::non_blocking
,
"non_blocking"
}, {
xtd::net::sockets::socket_information_options::connected
,
"connected"
}, {
xtd::net::sockets::socket_information_options::listening
,
"listening"
}, {
xtd::net::sockets::socket_information_options::use_only_overlapped_io
,
"use_only_overlapped_io"
}};}
52
};
enum.hpp
Contains enum_ and enum_ut_ keywords.
flags_attribute_
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition
flags_attribute.hpp:34
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_information_options
socket_information_options
Describes states for a xtd::net::sockets::socket. This enumeration has a flags attribute that allows ...
Definition
socket_information_options.hpp:31
xtd::net::sockets::socket_async_operation::none
@ none
none of the socket operations.
Definition
socket_async_operation.hpp:34
xtd::net::sockets::socket_information_options::connected
@ connected
The Socket is connected.
Definition
socket_information_options.hpp:37
xtd::net::sockets::socket_information_options::use_only_overlapped_io
@ use_only_overlapped_io
The Socket uses overlapped I/O.
Definition
socket_information_options.hpp:41
xtd::net::sockets::socket_information_options::none
@ none
Use no flags for this call.
Definition
socket_information_options.hpp:33
xtd::net::sockets::socket_information_options::listening
@ listening
The Socket is listening for new connections.
Definition
socket_information_options.hpp:39
xtd::net::sockets::socket_information_options::non_blocking
@ non_blocking
The Socket is nonblocking.
Definition
socket_information_options.hpp:35
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.