Hi,

This patch adds a function for getting the family of the address in
$Address. If $Address is not of any family, false is returned. I,
myself, need this function to verify that an ip provided by an user is
a real ip. Then, to use this address with, in exemple, socket_create()
and later bind it, I need to know the address family of the address so
it is very useful.

Please comment my patch and, if there are no objections, commit it ;-).

Thank you for your time,
Nic.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to