5 #include "../../enum.h" 58 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"}};}
Send without using routing tables.
Use no flags for this call.
The xtd::net::sockets namespace provides a managed implementation of the Berkeley Sockets interface f...
Definition: address_family.h:16
Indicates that the control data did not fit into an internal 64-KB buffer and was truncated...
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
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
Provides a standard value for the number of WSABUF structures that are used to send and receive data...
Indicates a multicast packet.
socket_flags
Specifies socket send and receive behaviors. This enumeration has a flags attribute that allows a bit...
Definition: socket_flags.h:28
The message was too large to fit into the specified buffer and was truncated.
Process out-of-band data.
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition: flags_attribute.h:34
Partial send or receive for message.
Peek at the incoming message.
Indicates a broadcast packet.
Provides the registration struct for enumerations.
Definition: enum_register.h:36