HH\Lib\OS\inet_ntop_inet

Facebook Engineer?

This function is available as OS\inet_ntop_inet() in Facebook's www repository.

Convert an INET (IPv4) address from network format to presentation (dotted) format

namespace HH\Lib\OS;

function inet_ntop_inet(
  in_addr $addr,
): string;

See man inet_ntop

Parameters

  • in_addr $addr

Returns

  • string