ipaddr_valid
Description:
public bool ipaddr_valid (
int family,
string ip)
Checks if ip
contains a valid IP address of the given family.
Parameters:
family |
<literal>AF_INET</literal> or <literal>AF_INET6</literal>, or <literal>AF_UNSPEC</literal> to accept
either
|
ip |
an IP address
|
Returns: