On 4/28/11 12:02 PM, Iñaki Baz Castillo wrote:
2011/4/28 Iñaki Baz Castilloibc@aliax.net:
Obviously under IPv6 binary comparison is needed (this is what my function does).
Let me a related question:
An IPv6 looks like "1080::8:800:200C:417A", but when using it in a URI it must be set as IPv6-reference (between [ ]):
[1080::8:800:200C:417A]
Imagine I do:
$rd = "1080::8:800:200C:417A"; $dd = "1080::8:800:200C:417A"; $rd = "[1080::8:800:200C:417A]"; $dd = "[1080::8:800:200C:417A]";
Would SR handle correctly all these cases?
you have to give the proper format, enclosed in square brackets. The assignments above are just string value settings.
Cheers, Daniel