CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
io_control_code.h
1
2#pragma once
3
4#include <cstdint>
5
6namespace System {
7namespace Net {
8namespace Sockets {
9
11enum class IOControlCode : int64_t
12{
14 AsyncIO = 0x8004667D,
16 NonBlockingIO = 0x8004667E,
18 DataToRead = 0x4004667F,
20 OobDataRead = 0x40047307,
22 AssociateHandle = 0x88000001,
24 EnableCircularQueuing = 0x28000002,
26 Flush = 0x28000004,
28 GetBroadcastAddress = 0x48000005,
30 GetExtensionFunctionPointer = 0xC8000006,
32 GetQos = 0xC8000007,
34 GetGroupQos = 0xC8000008,
38 MultipointLoopback = 0x88000009,
40 MulticastScope = 0x8800000A,
42 SetQos = 0x8800000B,
44 SetGroupQos = 0x8800000C,
46 TranslateHandle = 0xC800000D,
48 RoutingInterfaceQuery = 0xC8000014,
50 RoutingInterfaceChange = 0x88000015,
52 AddressListQuery = 0x48000016,
54 AddressListChange = 0x28000017,
56 QueryTargetPnpHandle = 0x48000018,
58 NamespaceChange = 0x88000019,
61 AddressListSort = 0xC8000019,
63 ReceiveAll = 0x98000001,
65 ReceiveAllMulticast = 0x98000002,
67 ReceiveAllIgmpMulticast = 0x98000003,
69 KeepAliveValues = 0x98000004,
71 AbsorbRouterAlert = 0x98000005,
73 UnicastInterface = 0x98000006,
75 LimitBroadcasts = 0x98000007,
77 BindToInterface = 0x98000008,
79 MulticastInterface = 0x98000009,
84};
85} // namespace Sockets
86} // namespace Net
87} // namespace System
IOControlCode
Enumerates the IO control codes.
Definition: io_control_code.h:12
@ AddressListChange
Enable receiving a notification when the list of the local interfaces for the socket's protocol famil...
@ GetGroupQos
Return the QOS attributes for the socket group.
@ SetGroupQos
Set the QOS attributes for the socket group.
@ SetQos
Set the QOS attributes for the socket.
@ DeleteMulticastGroupFromInterface
Remove the socket from a multicast group.
@ AddressListSort
Sort a list of IPv6 and IPv4 destination addresses to determine the best available address for making...
@ TranslateHandle
Return a handle for the socket that is valid in the context of a companion interface.
@ ReceiveAllIgmpMulticast
Enable receiving all IGMP packets on the network.
@ ReceiveAllMulticast
Enable receiving all multicast IPv4 packets on the network.
@ AbsorbRouterAlert
This value is equal to the Winsock 2 'SIO_ABSORB_RTRALERT' constant.
@ AssociateHandle
Associate this socket with the specified handle of a companion interface.
@ UnicastInterface
Set the interface used for the outgoing unicast packets.
@ GetQos
Retrieve the QOS structure associated with the socket.
@ ReceiveAll
Enable receiving all IPv4 packets on the network.
@ AddressListQuery
Return the list of the local interfaces that the socket can bind to.
@ KeepAliveValues
Control sending TCP keep-alive packets and the interval at which they are sent.
@ AddMulticastGroupOnInterface
Join a multicast group using an interface identified by its index.
@ EnableCircularQueuing
Replace the oldest queued datagram with an incoming one when the incoming message queues are full.
@ OobDataRead
Return information about out-of-band data waiting to be received.
@ GetBroadcastAddress
Return a SOCKADDR structure that contains the broadcast address for the address family of the current...
@ QueryTargetPnpHandle
Retrieve the underlying provider's SOCKET handle.
@ DataToRead
Return the number of bytes available for reading.
@ LimitBroadcasts
This value is equal to the Winsock 2 'SIO_LIMIT_BROADCASTS' constant.
@ NonBlockingIO
Mark the socket as nonblocking.
@ MultipointLoopback
Control whether data sent by an application on the local computer (not necessarily by the same socket...
@ NamespaceChange
Control whether the socket receives notification when a namespace query becomes invalid.
@ AsyncIO
Enable or disable the asynchronous I/O mode of the socket.
@ MulticastScope
Control the number of times a multicast packet can be forwarded by a router, also known as TTL,...
@ GetExtensionFunctionPointer
Retrieve a pointer to the specified extension function supported by the associated service provider.
@ MulticastInterface
Set the interface used for the outgoing multicast packets.
@ RoutingInterfaceChange
Enable receiving a notification when the local interface used to access a remote endpoint changes.
@ RoutingInterfaceQuery
Return the interface addresses that can be used to connect to the specified remote address.
@ BindToInterface
Bind the socket to a specified interface index.
Definition: db_command.h:9