5#include "../../enum.hpp"
60 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"}};}
socket_async_operation
The type of asynchronous socket operation most recently performed with this context object.
Definition socket_async_operation.hpp:32
std::vector< xtd::collections::generic::key_value_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:22
@ receive_message_from
A socket receive_message_from operation.
@ send
A socket send operation.
@ none
none of the socket operations.
@ accept
A socket accept operation.
@ send_packets
A socket send_packets operation.
@ disconnect
A socket disconnect operation.
@ receive_from
A socket receive_from operation.
@ connect
A socket connect operation.
@ send_to
A socket send_to operation.
@ receive
A socket receive operation.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38