IPv6 address giveing syntax error in internet expl

2019-02-24 08:05发布

问题:

I am getting ipv6 address from server . Then i am creating url for websocket. my url looks like

ws://[xxxx:xxxx:xxxx:xxxx::xxxx:xxxx]:(port in decimal)

where x(0-f in hexadecimal) this url is working fine in chrome and firefox . but in ie 10 it give syntax error .can anyone tell:-

  1. -Ipv6 is supporting in ie -10
  2. -if it is supporting what extra have to be done for supporting ipv6

回答1:

This problem can be solved by using "Literal IPv6 addresses in UNC path names" . http://en.wikipedia.org/wiki/IPv6_address