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 {
31 none = 0x00,
33 non_blocking = 0x01,
35 connected = 0x02,
37 listening = 0x04,
40 };
41 }
42 }
43}
44
46flags_attribute_(xtd::net::sockets, socket_information_options);
47
50};
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition flags_attribute.h:34
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
socket_information_options
Describes states for a xtd::net::sockets::socket. This enumeration has a flags attribute that allows ...
Definition socket_information_options.h:29
@ 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:36