function getaddrinfo( string $host, string $port, int $family = 0, int $socktype = 0, int $protocol = 0, int $flags = 0, ): mixed;
string $host
string $port
int $family = 0
int $socktype = 0
int $protocol = 0
int $flags = 0
mixed