HH\Lib\OS\inet_pton_inet

Meta Engineer?

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

Convert a presentation-format (dotted) INET (IPv4)) address to network format

namespace HH\Lib\OS;

function inet_pton_inet(
  string $addr,
): in_addr;

See man inet_pton.

Parameters

  • string $addr

Returns

  • in_addr