DIAG_SOCKADDR structure (ndattrib.h)
The DIAG_SOCKADDR structure stores an Internet Protocol (IP) address for a computer that is participating in a Windows Sockets communication.
Syntax
typedef struct tagSOCK_ADDR {
USHORT family;
CHAR data[126];
} DIAG_SOCKADDR, *PDIAG_SOCK_ADDR;
Members
family
Type: USHORT
Socket address group.
data[126]
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Header | ndattrib.h (include NDHelper.h) |