static array SplitV64(
string
$ip)
|
|
Splits an IPv6 address into the IPv6 and a possible IPv4 part
RFC 2373 allows you to note the last two parts of an IPv6 address as an IPv4 compatible address
Example: 0:0:0:0:0:0:13.1.68.3 0:0:0:0:0:FFFF:129.144.52.38
Tags:
Parameters:
static string Uncompress(
string
$ip)
|
|
Uncompresses an IPv6 address
RFC 2373 allows you to compress zeros in an address to '::'. This function expects an valid IPv6 address and expands the '::' to the required zeros.
Example: FF01::101 -> FF01:0:0:0:0:0:0:101 ::1 -> 0:0:0:0:0:0:0:1
Tags:
Parameters: