as one probably knows using ':' as a port seperator is not good for
ipv6.
as a result I am doing ipv6 notation as per rfc2732.
it had defined ipv6 addressed in urls as '['<ipv6-addr>']'[':'<port>].
eg: [::1]:80 for local http host, or [::1] for loopback.
I was considering using this as the general way of
representing/processing ipv6 addresses in my project (they will
typically be printed like this, the parser accepts either this or the
more conventional notation).
before finding this rfc I had just considered doing <addr>'#'<port>,
eg: ::1#80, but anyways, I will follow the rfc (as it also makes ipv6
addr's more immediatly distinguishable from hostnames).
oppinions?...