The containing class is available as OS\sockaddr_in in the www repository.
OS\sockaddr_in
final public function getFamily(): HH\Lib\OS\AddressFamily;
HH\Lib\OS\AddressFamily