getaddrinfo() - what is the equivalent php function?

From: Date: Wed, 26 May 2010 09:05:13 +0000
Subject: getaddrinfo() - what is the equivalent php function?
Groups: php.general 
Request: Send a blank email to php-general+get-305537@lists.php.net to get a copy of this message
AFAICT, gethostbyname() only works for ipv4 addresses, so that one is out - dns_get_record seems to be really for dns only, i.e. it does not look at /etc/hosts. Is there a hph function that essentially just calls getaddrinfo() ? -- Per Jessen, Zürich (19.1°C)

« previous php.general (#305537) next »