IN6_IS_ADDR_SITELOCAL function (ws2ipdef.h)

Determines whether the address argument is an IPv6 site-local address.

Syntax

BOOLEAN IN6_IS_ADDR_SITELOCAL(
  const IN6_ADDR *a
);

Parameters

a

Type: CONST IN6_ADDR *

Pointer to the address to test.

Return value

true if the address is an IPv6 site-local address; otherwise, false.

Returns true for local-use IPv6 unicast addresses.

Requirements

Requirement Value
Header ws2ipdef.h