DIAG_SOCKADDR structure

The DIAG_SOCKADDR structure stores an Internet Protocol (IP) address for a computer that is participating in a Windows Sockets communication.

Syntax


typedef struct tagDIAG_SOCKADDR {
  USHORT family;
  CHAR   data[126];
} DIAG_SOCKADDR, *PDIAG_SOCKADDR;

Members

family

Type: USHORT

Socket address group.

data

Type: CHAR[126]

The maximum size of all the different socket address structures.

Remarks

This data structure is designed to be used as a SOCKADDR structure.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

NDHelper.h

IDL

NDHelper.idl

 

 

Community Additions

ADD
Show: