Partager via


2.2.1.2.4 NL_SOCKET_ADDRESS

The NL_SOCKET_ADDRESS structure contains a socket address.

 typedef struct _NL_SOCKET_ADDRESS {
   [size_is(iSockaddrLength)] UCHAR * lpSockaddr;
   ULONG iSockaddrLength;
 } NL_SOCKET_ADDRESS,
  *PNL_SOCKET_ADDRESS;

lpSockaddr: A pointer to an octet string. The format of the lpSockaddr member when an IPv4 socket address is used is specified in section 2.2.1.2.4.1. The format of the lpSockaddr member when an IPv6 socket address is used is specified in section 2.2.1.2.4.2.

iSockaddrLength: The length of the octet string pointed to by lpSockaddr, in bytes.