A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Sockets and Internet Protocols
API to convert IPV6 address to IPV4 ?
Joined: Dec 23, 2003
May 27, 2010 21:02:59
, do we have an API to convert IPV6 address to IPV4 ? like "fe80::198:8ad2:22fe:2bff84"--> "127.0.0.1"
Joined: Oct 27, 2005
May 28, 2010 01:25:00
I doubt it is possible; IPv6 can hold so many more IP addresses than IPv4. It's like trying to squeeze 100 clowns into a car that can hold only 10 clowns.
And your example mapping is invalid; that IP address is definitely not 127.0.0.1; that's ::1.
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: API to convert IPV6 address to IPV4 ?
Removing Eclipse Ganymede
Fetcth the Router's Mac Address
Getting ipv4 remote address from FacesContext
IP address regular expression
Server Host/Port Validation
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013