xtd 0.2.0
Loading...
Searching...
No Matches
socket_information_options.h
Go to the documentation of this file.
1
4#pragma once
5#include "../../enum.h"
6
8#undef unix
10
12namespace xtd {
14 namespace net {
16 namespace sockets {
33 none = 0x00,
35 non_blocking = 0x01,
37 connected = 0x02,
39 listening = 0x04,
42 };
43 }
44 }
45}
46
48flags_attribute_(xtd::net::sockets, socket_information_options);
49
52};
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.h:34
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.h:22
socket_information_options
Describes states for a xtd::net::sockets::socket. This enumeration has a flags attribute that allows ...
Definition socket_information_options.h:31
@ none
none of the socket operations.
@ use_only_overlapped_io
The Socket uses overlapped I/O.
@ listening
The Socket is listening for new connections.
@ non_blocking
The Socket is nonblocking.
The xtd::net::sockets namespace provides a managed implementation of the Berkeley Sockets interface f...
Definition address_family.h:16
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:38