Method Protocols.IPv6.parse_addr()
- Method parse_addr
array
(int(16bit)
) parse_addr(string
addr
)- Description
Parses an IPv6 address on the formatted hexadecimal
"x:x:x:x:x:x:x:x"
form, or any of the shorthand varieties (see RFC 2373 section 2.2).The address is returned as an 8-element array where each element is the value of the corresponding field. Zero is returned if
addr
is incorrectly formatted.- See also