HH\Lib\OS\sockaddr_in6::__construct

Facebook Engineer?

The containing class is available as OS\sockaddr_in6 in the www repository.

Construct an instance

public function __construct(
  int $port,
  int $flowInfo,
  HH\Lib\OS\in6_addr $address,
  int $scopeID,
);

Unlike the C API, all integers are in host byte order.

Parameters

  • int $port
  • int $flowInfo
  • HH\Lib\OS\in6_addr $address
  • int $scopeID