How can I convert IPV6 address to IPV4 address?

前端 未结 5 672
日久生厌
日久生厌 2020-11-28 15:15

I have application that uses IPv4 addresses (it stores them as long), so it only understands IPv4 addresses.

Is it possible to convert

5条回答
  •  北海茫月
    2020-11-28 15:50

    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.

提交回复
热议问题