The containing class is available as OS\sockaddr_in6 in the www repository.
OS\sockaddr_in6
Get the port, in host byte order
final public function getPort(): int;
int