5 #include "../../enum.h" 58 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::net::sockets::socket_async_operation> {{
xtd::net::sockets::socket_async_operation::none,
"none"}, {
xtd::net::sockets::socket_async_operation::accept,
"accept"}, {
xtd::net::sockets::socket_async_operation::connect,
"connect"}, {
xtd::net::sockets::socket_async_operation::disconnect,
"disconnect"}, {
xtd::net::sockets::socket_async_operation::receive,
"receive"}, {
xtd::net::sockets::socket_async_operation::receive_from,
"receive_from"}, {
xtd::net::sockets::socket_async_operation::receive_message_from,
"receive_message_from"}, {
xtd::net::sockets::socket_async_operation::send,
"send"}, {
xtd::net::sockets::socket_async_operation::send_packets,
"send_packets"}, {
xtd::net::sockets::socket_async_operation::send_to,
"send_to"}};}
none of the socket operations.
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
A socket receive_message_from operation.
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
A socket accept operation.
A socket connect operation.
A socket send_packets operation.
socket_async_operation
The type of asynchronous socket operation most recently performed with this context object...
Definition: socket_async_operation.h:30
A socket receive operation.
A socket receive_from operation.
A socket send_to operation.
A socket disconnect operation.
Provides the registration struct for enumerations.
Definition: enum_register.h:36