RE: How to represent address/port pair?

"Lawrence Hughes" <[email protected]>
Newsgroups gmane.network.ipv6.general
Message-ID <[email protected]>
Yes, use square brackets around the IPv6 address - covered in an RFC:
 
[2001:ec8:4008:1::123]:80
 
Alternatively, use symbolic name via DNS:
 
www.kame.net:80

 
________________________________

From: [email protected] on behalf of Roy Smith
Sent: Sun 10/23/2005 1:54 AM
To: [email protected]
Subject: How to represent address/port pair?



Is there a conventional way to represent a numeric IPv6 address along with
a port as a string?  With v4, many applications would interpret a ":" as
introducing a port number, i.e. "telnet 127.0.0.1:9999".  Obviously that
doesn't work well with v6 addresses.  Any recommendations for the best way
to do something like that with v6?

---------------------------------------------------------------------
The IPv6 Users Mailing List
Unsubscribe by sending "unsubscribe users" to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.