60 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::net::sockets::socket_flags> {{
xtd::net::sockets::socket_flags::none,
"none"}, {
xtd::net::sockets::socket_flags::out_of_band,
"out_of_band"}, {
xtd::net::sockets::socket_flags::peek,
"peek"}, {
xtd::net::sockets::socket_flags::dont_route,
"dont_route"}, {
xtd::net::sockets::socket_flags::max_io_vector_length,
"max_io_vector_length"}, {
xtd::net::sockets::socket_flags::truncated,
"truncated"}, {
xtd::net::sockets::socket_flags::control_data_truncated,
"control_data_truncated"}, {
xtd::net::sockets::socket_flags::broadcast,
"broadcast"}, {
xtd::net::sockets::socket_flags::multicast,
"multicast"}, {
xtd::net::sockets::socket_flags::partial,
"partial"}};}
Contains enum_ and enum_ut_ keywords.
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.hpp:34
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
socket_flags
Specifies socket send and receive behaviors. This enumeration has a flags attribute that allows a bit...
Definition socket_flags.hpp:30
@ none
none of the socket operations.
Definition socket_async_operation.hpp:34
@ partial
Partial send or receive for message.
Definition socket_flags.hpp:50
@ control_data_truncated
Indicates that the control data did not fit into an internal 64-KB buffer and was truncated.
Definition socket_flags.hpp:44
@ none
Use no flags for this call.
Definition socket_flags.hpp:32
@ max_io_vector_length
Provides a standard value for the number of WSABUF structures that are used to send and receive data.
Definition socket_flags.hpp:40
@ multicast
Indicates a multicast packet.
Definition socket_flags.hpp:48
@ peek
Peek at the incoming message.
Definition socket_flags.hpp:36
@ truncated
The message was too large to fit into the specified buffer and was truncated.
Definition socket_flags.hpp:42
@ dont_route
Send without using routing tables.
Definition socket_flags.hpp:38
@ broadcast
Indicates a broadcast packet.
Definition socket_flags.hpp:46
@ out_of_band
Process out-of-band data.
Definition socket_flags.hpp:34
The xtd::net::sockets namespace provides a managed implementation of the Berkeley Sockets interface f...
Definition address_family.hpp:16
The xtd::net namespace provides a simple programming interface for many of the protocols used on netw...
Definition cookie_exception.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Provides the registration struct for enumerations.
Definition enum_register.hpp:38