IPv6 Question

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
Chenjeshu
DBB Cadet
DBB Cadet
Posts: 15
Joined: Thu Aug 05, 1999 2:01 am
Location: Mission Viejo, California, USA

IPv6 Question

Post by Chenjeshu »

Can someone point me to where the answer can be found to this question?

How do you correctly reference ports with IPv6 address?

In IPv4, you would say the following to refer to port 80
192.168.1.100:80

In IPv6, what is the syntax?
192::100?80

Thanks

Chenjeshu =D


Ive scoured the internet for the answer and thought I would ask the smart peeps who play Descent.
User avatar
The Lion
DBB Ace
DBB Ace
Posts: 197
Joined: Mon Apr 17, 2006 2:13 pm
Location: The Netherlands

Post by The Lion »

Just did a quick search. Found that literal IPv6 addresses in URLs
are enclosed in brackets. There is a very clear description in RFC
2732
, section 2. I saw that RFC 2732 is obsoleted by RFC 3986,
which seems to be a little harder to read, but the bracket
convention remains (simply search it for \"IPv6\").

I don't know how IPv6 addresses with ports are/will be handled
outside of URLs. It will probably differ between programs just as
it does now with IPv4. Some (e.g. telnet) use a space as separator;
others let you enter the IP/host and port separately (different
textfield or commandline option). If a program still uses host:port
notation, you could try using brackets there as well, otherwise
I don't know. Look in the docs. Or, the program might not support
IPv6 at all...
Chenjeshu
DBB Cadet
DBB Cadet
Posts: 15
Joined: Thu Aug 05, 1999 2:01 am
Location: Mission Viejo, California, USA

Post by Chenjeshu »

Thanks Lion

Chenjeshu
Post Reply