SOCKET_ADDRESS_LIST structure

The SOCKET_ADDRESS_LIST structure stores an array of SOCKET_ADDRESS structures that contain protocol-specific address information.

Syntax

typedef struct _SOCKET_ADDRESS_LIST {
  INT            iAddressCount;
  SOCKET_ADDRESS Address[1];
} SOCKET_ADDRESS_LIST, *PSOCKET_ADDRESS_LIST, FAR *LPSOCKET_ADDRESS_LIST;

Members

  • iAddressCount
    The number of address structures in the Address member.

  • Address
    An array of SOCKET_ADDRESS structures that are specific to a protocol family.

Remarks

On the Microsoft Windows Software Development Kit (SDK) released for Windows Vista and later, the organization of header files has changed and the SOCKET_ADDRESS_LIST structure is defined in the Ws2def.h header file. Note that the Ws2def.h header file is automatically included in Winsock2.h, and should never be used directly.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Ws2def.h (include Winsock2.h); Winsock2.h on Windows Server 2003, Windows XP and Windows 2000

See also

SIO_ADDRESS_LIST_QUERY

SOCKET_ADDRESS

WSAIoctl

WSPIoctl

Using SIO_ADDRESS_LIST_SORT

WSAConnectByList