xtd 0.2.0
Loading...
Searching...
No Matches
io_control_code.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 {
30 enum class io_control_code : uint64 {
32 enable_circular_queuing = 671088642ul,
34 flush = 671088644ul,
36 address_list_change = 671088663ul,
38 data_to_read = 1074030207ul,
40 oob_data_read = 1074033415ul,
42 get_broadcast_address = 1207959557ul,
44 address_list_query = 1207959574ul,
46 query_target_pnp_handle = 1207959576ul,
48 async_io = 2147772029ul,
50 non_blocking_io = 2147772030ul,
52 associate_handle = 2281701377ul,
54 multipoint_loopback = 2281701385ul,
56 multicast_scope = 2281701386ul,
58 set_qos = 2281701387ul,
60 set_group_qos = 2281701388ul,
62 routing_interface_change = 2281701397ul,
64 namespace_change = 2281701401ul,
66 receive_all = 2550136833ul,
68 receive_all_multicast = 2550136834ul,
70 receive_all_igmp_multicast = 2550136835ul,
72 keep_alive_values = 2550136836ul,
74 absorb_router_alert = 2550136837ul,
76 unicast_interface = 2550136838ul,
78 limit_broadcasts = 2550136839ul,
80 bind_to_interface = 2550136840ul,
82 multicast_interface = 2550136841ul,
88 get_extension_function_pointer = 3355443206ul,
90 get_qos = 3355443207ul,
92 get_group_qos = 3355443208ul,
94 translate_handle = 3355443213ul,
96 routing_interface_query = 3355443220ul,
98 address_list_sort = 3355443225ul
99 };
100 }
101 }
102}
103
106 explicit operator auto() const noexcept {return xtd::enum_collection<xtd::net::sockets::io_control_code> {{xtd::net::sockets::io_control_code::enable_circular_queuing, "enable_circular_queuing"}, {xtd::net::sockets::io_control_code::flush, "flush"}, {xtd::net::sockets::io_control_code::address_list_change, "address_list_change"}, {xtd::net::sockets::io_control_code::data_to_read, "data_to_read"}, {xtd::net::sockets::io_control_code::oob_data_read, "oob_data_read"}, {xtd::net::sockets::io_control_code::get_broadcast_address, "get_broadcast_address"}, {xtd::net::sockets::io_control_code::address_list_query, "address_list_query"}, {xtd::net::sockets::io_control_code::query_target_pnp_handle, "query_target_pnp_handle"}, {xtd::net::sockets::io_control_code::async_io, "async_io"}, {xtd::net::sockets::io_control_code::non_blocking_io, "non_blocking_io"}, {xtd::net::sockets::io_control_code::associate_handle, "associate_handle"}, {xtd::net::sockets::io_control_code::multipoint_loopback, "multipoint_loopback"}, {xtd::net::sockets::io_control_code::multicast_scope, "multicast_scope"}, {xtd::net::sockets::io_control_code::set_qos, "set_qos"}, {xtd::net::sockets::io_control_code::set_group_qos, "set_group_qos"}, {xtd::net::sockets::io_control_code::routing_interface_change, "routing_interface_change"}, {xtd::net::sockets::io_control_code::namespace_change, "namespace_change"}, {xtd::net::sockets::io_control_code::receive_all, "receive_all"}, {xtd::net::sockets::io_control_code::receive_all_multicast, "receive_all_multicast"}, {xtd::net::sockets::io_control_code::receive_all_igmp_multicast, "receive_all_igmp_multicast"}, {xtd::net::sockets::io_control_code::keep_alive_values, "keep_alive_values"}, {xtd::net::sockets::io_control_code::absorb_router_alert, "absorb_router_alert"}, {xtd::net::sockets::io_control_code::unicast_interface, "unicast_interface"}, {xtd::net::sockets::io_control_code::limit_broadcasts, "limit_broadcasts"}, {xtd::net::sockets::io_control_code::bind_to_interface, "bind_to_interface"}, {xtd::net::sockets::io_control_code::multicast_interface, "multicast_interface"}, {xtd::net::sockets::io_control_code::add_multicast_group_on_interface, "add_multicast_group_on_interface"}, {xtd::net::sockets::io_control_code::delete_multicast_group_from_interface, "delete_multicast_group_from_interface"}, {xtd::net::sockets::io_control_code::get_extension_function_pointer, "get_extension_function_pointer"}, {xtd::net::sockets::io_control_code::get_qos, "get_qos"}, {xtd::net::sockets::io_control_code::get_group_qos, "get_group_qos"}, {xtd::net::sockets::io_control_code::translate_handle, "translate_handle"}, {xtd::net::sockets::io_control_code::routing_interface_query, "routing_interface_query"}, {xtd::net::sockets::io_control_code::address_list_sort, "address_list_sort"}};}
107};
uint64_t uint64
Represents a 64-bit unsigned integer.
Definition uint64.h:23
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
io_control_code
Specifies the IO control codes supported by the xtd::net::sockets::socket::io_control method.
Definition io_control_code.h:30
@ multicast_interface
Sets the interface used for outgoing multicast packets. The interface is identified by its index....
@ multipoint_loopback
Control whether multicast data sent by the socket appears as incoming data in the sockets receive que...
@ receive_all
Enable receiving all IPv4 packets on the network. The socket must have address family xtd::net::socke...
@ async_io
Enable notification for when data is waiting to be received. This value is equal to the Winsock†2 FIO...
@ keep_alive_values
Control sending TCP keep-alive packets and the interval at which they are sent. This control code is ...
@ unicast_interface
Sets the interface used for outgoing unicast packets. This value is equal to the Winsock†2 SIO_UCAST_...
@ get_extension_function_pointer
Obtain provider-specific functions that are not part of the Winsock specification....
@ associate_handle
Associate this socket with the specified handle of a companion interface. Refer to the appropriate pr...
@ translate_handle
Return a handle for the socket that is valid in the context of a companion interface....
@ get_qos
Retrieve the QOS structure associated with the socket. This control is only supported on platforms th...
@ address_list_sort
Sort the structure returned by the xtd::net::sockets::io_control_code::address_list_query field and a...
@ routing_interface_query
Return the interface addresses that can be used to connect to the specified remote address....
@ address_list_query
Return the list of local interfaces that the socket can bind to. This control code is supported on Wi...
@ data_to_read
Return the number of bytes available for reading. This value is equal to the Winsock†2 FIONREAD const...
@ receive_all_igmp_multicast
Enable receiving all Internet Group Management Protocol (IGMP) packets on the network....
@ absorb_router_alert
This value is equal to the Winsock†2 SIO_ABSORB_RTRALERT constant.
@ non_blocking_io
Control the blocking behavior of the socket. If the argument specified with this control code is zero...
@ flush
Discard the contents of the sending queue. This value is equal to the Winsock†2 SIO_FLUSH constant.
@ bind_to_interface
Bind the socket to a specified interface index. This control code is supported on Windows 2000 and la...
@ multicast_scope
Control the number of times a multicast packet can be forwarded by a router, also known as the Time t...
@ get_group_qos
Return the Quality of Service (QOS) attributes for the socket group. This value is reserved for futur...
@ receive_all_multicast
Enable receiving all multicast IPv4 packets on the network. These are packets with destination addres...
@ limit_broadcasts
This value is equal to the Winsock†2 SIO_LIMIT_BROADCASTS constant.
@ enable_circular_queuing
Replace the oldest queued datagram with an incoming datagram when the incoming message queues are ful...
@ oob_data_read
Return information about out-of-band data waiting to be received. When using this control code on str...
@ set_qos
Sets the Quality of Service (QOS) attributes for the socket. QOS defines the bandwidth requirements f...
@ routing_interface_change
Enable receiving notification when the local interface used to access a remote endpoint changes....
@ query_target_pnp_handle
Retrieve the underlying provider's SOCKET handle. This handle can be used to receive plug-and-play ev...
@ address_list_change
Enable receiving notification when the list of local interfaces for the socket's protocol family chan...
@ set_group_qos
Sets the Quality of Service (QOS) attributes for the socket group. This value is reserved for future ...
@ namespace_change
Control whether the socket receives notification when a namespace query becomes invalid....
@ get_broadcast_address
Return a SOCKADDR structure that contains the broadcast address for the address family of the current...
@ delete_multicast_group_from_interface
Remove the socket from a multicast group. This control code is supported on Windows 2000 and later op...
@ add_multicast_group_on_interface
Join a multicast group using an interface identified by its index. This control code is supported on ...
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