xtd 0.2.0
Loading...
Searching...
No Matches
socket_flags.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 {
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,
44 broadcast = 0x0400,
46 multicast = 0x0800,
48 partial = 0x8000,
49 };
50 }
51 }
52}
53
56
59};
#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_flags
Specifies socket send and receive behaviors. This enumeration has a flags attribute that allows a bit...
Definition socket_flags.h:28
@ none
none of the socket operations.
@ partial
Partial send or receive for message.
@ control_data_truncated
Indicates that the control data did not fit into an internal 64-KB buffer and was truncated.
@ none
Use no flags for this call.
@ max_io_vector_length
Provides a standard value for the number of WSABUF structures that are used to send and receive data.
@ multicast
Indicates a multicast packet.
@ peek
Peek at the incoming message.
@ truncated
The message was too large to fit into the specified buffer and was truncated.
@ dont_route
Send without using routing tables.
@ broadcast
Indicates a broadcast packet.
@ out_of_band
Process out-of-band data.
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