ws2def.h header

This header is used by IP Helper. For more information, see:

ws2def.h contains the following programming interfaces:

Structures

 
ADDRINFO_DNS_SERVER

Represents a custom Domain Name System (DNS) server, used in the Winsock APIs.
ADDRINFOA

Used by the getaddrinfo function to hold host address information.
ADDRINFOEX2A

Used by the GetAddrInfoEx function to hold host address information when both a canonical name and a fully qualified domain name have been requested.
ADDRINFOEX2W

Used by the GetAddrInfoEx function to hold host address information when both a canonical name and a fully qualified domain name have been requested.
ADDRINFOEX3

Used by the GetAddrInfoEx function to hold host address information when a specific network interface has been requested.
ADDRINFOEX4

Used by the GetAddrInfoEx function to hold host address information when a specific network interface has been requested.
ADDRINFOEX5

Used by the GetAddrInfoExW function to hold host address information when a specific network interface has been requested.
ADDRINFOEX6

Used by the GetAddrInfoExW function to hold host address information when a specific network interface has been requested.
ADDRINFOEXA

Used by the GetAddrInfoEx function to hold host address information.
ADDRINFOEXW

Used by the GetAddrInfoEx function to hold host address information.
ADDRINFOW

Used by the GetAddrInfoW function to hold host address information.
CSADDR_INFO

Contains Windows Sockets address information for a socket, network service, or namespace provider.
SOCKADDR

The SOCKADDR structure is a generic structure that specifies a transport address.
SOCKADDR_IN

The SOCKADDR_IN structure specifies a transport address and port for the AF_INET address family.
SOCKADDR_STORAGE_LH

The SOCKADDR_STORAGE structure is a generic structure that specifies a transport address.
SOCKADDR_STORAGE_XP

The SOCKADDR_STORAGE structure is a generic structure that specifies a transport address.
SOCKET_ADDRESS

SOCKET_ADDRESS structure stores protocol-specific address information.
SOCKET_ADDRESS_LIST

The SOCKET_ADDRESS_LIST structure defines a variable-sized list of transport addresses.
SOCKET_PROCESSOR_AFFINITY

Contains the association between a socket and an RSS processor core and NUMA node.
WSABUF

The WSABUF structure enables the creation or manipulation of a data buffer used by some Winsock functions.
WSACMSGHDR

The CMSGHDR structure defines the header for a control data object that is associated with a datagram.
WSAMSG

Used with the WSARecvMsg and WSASendMsg functions to store address and optional control information about connected and unconnected sockets as well as an array of buffers used to store message data.

Enumerations

 
SCOPE_LEVEL

The SCOPE_LEVEL enumeration is used with the IP_ADAPTER_ADDRESSES structure to identify scope levels for IPv6 addresses.