Return an address object that represents the loopback address

Synopsis

Declared in header </boost/url/ipv6_address.hpp#L324[boost/url/ipv6_address.hpp,window=blank_]>

static
ipv6_address
loopback() noexcept;

Description

The unicast address 0:0:0:0:0:0:0:1 is called the loopback address. It may be used by a node to send an IPv6 packet to itself.

Return Value

  • ipv6_address