HH\Lib\OS\inet_pton_inet6

Convert a presentation-format (colon-separated) INET6 (IPv6) address to network format

namespace HH\Lib\OS;

function inet_pton_inet6(
  string $addr,
): in6_addr;

See man inet_pton.

Parameters

  • string $addr

Returns

  • in6_addr