HH\Lib\OS\inet_ntop_inet6

Meta Engineer?

This is available as OS\inet_ntop_inet6 in the www repository.

Convert an INET6 (IPv6) address from network format to presentation (colon) format

namespace HH\Lib\OS;

function inet_ntop_inet6(
  in6_addr $addr,
): string;

See man inet_ntop

Parameters

  • in6_addr $addr

Returns

  • string