I have application that uses IPv4 addresses (it stores them as long), so it only understands IPv4 addresses.
IPv4
Is it possible to convert
Some googling led me to the following post:
http://www.developerweb.net/forum/showthread.php?t=3434
The code provided in the post is in C, but it shouldn't be too hard to rewrite it to Java.