How to convert IPv4 into IPv6

In my effort to maintain a universal standard in all future IP addressing I need to detect, convert and store any IPv4 as IPv6.  Then my application uses the IPv6 accordingly.  How do I accomplish this?  I need to both detect and convert the IP address as needed.  Obviously some cases would begin with an IPv6 and require no conversion.

We're now in an IPv6 world, gone are the days of memorizing IP addresses;-)


Who is Participating?

Improve company productivity with a Business Account.Sign Up

bevhostConnect With a Mentor Commented:
in IPv6, can be written as  ::ffff:
kanalQkoConnect With a Mentor Technical Support EngineerCommented:
please look here:
hopefully it helps
Phil5780Author Commented:
Works great, thanks!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.