xtd 0.2.0
Loading...
Searching...
No Matches
socket_async_operation.h
Go to the documentation of this file.
1
4#pragma once
5#include "../../enum.h"
6
8#undef accept
10
12namespace xtd {
14 namespace net {
16 namespace sockets {
32 none = 0,
34 accept = 1,
36 connect = 2,
38 disconnect = 3,
40 receive = 4,
42 receive_from = 5,
46 send = 7,
48 send_packets = 8,
50 send_to = 9,
51 };
52 }
53 }
54}
55
59};
socket_async_operation
The type of asynchronous socket operation most recently performed with this context object.
Definition socket_async_operation.h:30
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
@ receive_message_from
A socket receive_message_from 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.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:36