Network I/O Enumerations

This section lists the enumerations used in Windows Network I/O programming. These enumerations define sets of named constants that represent specific states, options, or values used within the Windows networking API.

Common Network I/O Enumerations

NET_IF_OPER_STATUS Specifies the operational status of a network interface. Values indicate whether the interface is up, down, testing, unknown, dormant, or disabled.
NLM_CONNECTIVITY_SUMMERY Indicates the level of network connectivity a host has. This includes disconnected, internet access only, or internet and network connectivity.
NLM_DOMAIN_PRESENCE_STATE Defines the state of domain presence for a network connection. States include unknown, not a domain member, or domain member.
WSAEVENT Represents Windows Sockets event objects, used for asynchronous operations and notifications.
SOCKET_PROTOCOL_TYPE Specifies the protocol type for a socket, such as TCP or UDP.

Socket State and Options

Enumerations related to the state and configuration of network sockets.

SOCKET_STATE Defines various states a socket can be in, such as listening, connected, or closed.
SOCKET_OPTION_LEVEL Specifies the level at which a socket option applies (e.g., socket level, IP level).
SOCKET_OPTION_NAME Specifies the name of a particular socket option to be retrieved or set.

Addressing and Protocol Information

Enumerations used for network address structures and protocol details.

AF_INET Address family for IPv4.
AF_INET6 Address family for IPv6.
SOCK_STREAM Socket type for connection-oriented protocols like TCP.
SOCK_DGRAM Socket type for connectionless protocols like UDP.

Related APIs

Refer to the following API sections for context: