The containing class is available as OS\sockaddr_in
in the www repository.
Construct a sockaddr_in
public function __construct(
int $port,
HH\Lib\OS\in_addr $address,
);
Unlike the C API, all integers are in host byte order, not network byte order.
int $port
HH\Lib\OS\in_addr $address