RE: How to represent address/port pair?

"mclellan, dave" <[email protected]>
Newsgroups gmane.network.ipv6.general
Message-ID <[email protected]>
What RFC is this in?   I expected to find the answer in 2373 (IPv6 Address
Architecture) but could not find it.  So I'm also curious:   how is the
scope index represented ?  is it inside the square brackets?  
 
The Win32 function WSAAddressToString will represent it this way as well,
i.e., with port outside the square brackets ( and scope index inside)
 
Thanks. 

Dave McLellan - Consulting Software Engineer 
Storage Platforms, Enablers, and Applications 
EMC Corporation 
228 South St. 
Hopkinton MA 01748 
phone: 508-249-1257 
fax 508-497-8030 

 


  _____  

From: [email protected] [mailto:[email protected]] On Behalf Of
Lawrence Hughes
Sent: Saturday, October 22, 2005 5:57 PM
To: Roy Smith; [email protected]
Subject: RE: How to represent address/port pair?


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 <http://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.