I've been trying for hours now to find a library or try to do it with java-core.
I'm trying to convert Expanded IPv6 to IPv4 but none of the googled methods does not work.
Also tried this library. https://github.com/seancfoley/IPAddress
Without much success.
Is it even possible?
To understand what I mean. For example, if you Google what is my ip, then Google will show you your IP in the Expanded IPv6 format.
Or you can look at this site: https://whatismyipaddress.com
How can the string (IPv6 long format) be converted to IPv4 in java?