xtd 0.2.0
socket_flags.h
Go to the documentation of this file.
1 #pragma once
5 #include "../../enum.h"
6 
8 #undef unix
9 
12 namespace xtd {
14  namespace net {
16  namespace sockets {
28  enum class socket_flags {
30  none = 0x0000,
32  out_of_band = 0x0001,
34  peek = 0x0002,
36  dont_route = 0x0004,
38  max_io_vector_length = 0x0010,
40  truncated = 0x0100,
42  control_data_truncated = 0x0200,
44  broadcast = 0x0400,
46  multicast = 0x0800,
48  partial = 0x8000,
49  };
50  }
51  }
52 }
53 
56 
57 template<> struct xtd::enum_register<xtd::net::sockets::socket_flags> {
59 };
Send without using routing tables.
Use no flags for this call.
The xtd::net::sockets namespace provides a managed implementation of the Berkeley Sockets interface f...
Definition: address_family.h:16
Indicates that the control data did not fit into an internal 64-KB buffer and was truncated...
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
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
Provides a standard value for the number of WSABUF structures that are used to send and receive data...
Indicates a multicast packet.
socket_flags
Specifies socket send and receive behaviors. This enumeration has a flags attribute that allows a bit...
Definition: socket_flags.h:28
The message was too large to fit into the specified buffer and was truncated.
#define flags_attribute_(namespace_name, enum_type)
Provides the set attribute struct for enumerations helper.
Definition: flags_attribute.h:34
Partial send or receive for message.
Peek at the incoming message.
Indicates a broadcast packet.
Provides the registration struct for enumerations.
Definition: enum_register.h:36