IOControlCode

IOControlCode enum

Enumerates the IO control codes.

enum class IOControlCode : int64_t

Values

NameValueDescription
AsyncIO-2147195267Enable or disable the asynchronous I/O mode of the socket.
NonBlockingIO-2147195266Mark the socket as nonblocking.
DataToRead1074030207Return the number of bytes available for reading.
OobDataRead1074033415Return information about out-of-band data waiting to be received.
AssociateHandle-2013265919Associate this socket with the specified handle of a companion interface.
EnableCircularQueuing671088642Replace the oldest queued datagram with an incoming one when the incoming message queues are full.
Flush671088644Discards current contents of the sending queue associated with this socket.
GetBroadcastAddress1207959557Return a SOCKADDR structure that contains the broadcast address for the address family of the current socket.
GetExtensionFunctionPointer-939524090Retrieve a pointer to the specified extension function supported by the associated service provider.
GetQos-939524089Retrieve the QOS structure associated with the socket.
GetGroupQos-939524088Return the QOS attributes for the socket group.
MultipointLoopback-2013265911Control whether data sent by an application on the local computer (not necessarily by the same socket) in a multicast session will be received by a socket joined to the multicast destination group on the loopback interface.
MulticastScope-2013265910Control the number of times a multicast packet can be forwarded by a router, also known as TTL, or hop count.
SetQos-2013265909Set the QOS attributes for the socket.
SetGroupQos-2013265908Set the QOS attributes for the socket group.
TranslateHandle-939524083Return a handle for the socket that is valid in the context of a companion interface.
RoutingInterfaceQuery-939524076Return the interface addresses that can be used to connect to the specified remote address.
RoutingInterfaceChange-2013265899Enable receiving a notification when the local interface used to access a remote endpoint changes.
AddressListQuery1207959574Return the list of the local interfaces that the socket can bind to.
AddressListChange671088663Enable receiving a notification when the list of the local interfaces for the socket’s protocol family changes.
QueryTargetPnpHandle1207959576Retrieve the underlying provider’s SOCKET handle.
NamespaceChange-2013265895Control whether the socket receives notification when a namespace query becomes invalid.
AddressListSort-939524071Sort a list of IPv6 and IPv4 destination addresses to determine the best available address for making a connection.
ReceiveAll-1744830463Enable receiving all IPv4 packets on the network.
ReceiveAllMulticast-1744830462Enable receiving all multicast IPv4 packets on the network.
ReceiveAllIgmpMulticast-1744830461Enable receiving all IGMP packets on the network.
KeepAliveValues-1744830460Control sending TCP keep-alive packets and the interval at which they are sent.
AbsorbRouterAlert-1744830459This value is equal to the Winsock 2 ‘SIO_ABSORB_RTRALERT’ constant.
UnicastInterface-1744830458Set the interface used for the outgoing unicast packets.
LimitBroadcasts-1744830457This value is equal to the Winsock 2 ‘SIO_LIMIT_BROADCASTS’ constant.
BindToInterface-1744830456Bind the socket to a specified interface index.
MulticastInterface-1744830455Set the interface used for the outgoing multicast packets.
AddMulticastGroupOnInterface-1744830454Join a multicast group using an interface identified by its index.
DeleteMulticastGroupFromInterface-1744830453Remove the socket from a multicast group.

See Also