java-ipv6 icon indicating copy to clipboard operation
java-ipv6 copied to clipboard

Provide ipv4 wrapper classes

Open GoogleCodeExporter opened this issue 9 years ago • 2 comments

Would you consider adding / accepting a patch of IPv4 implementations of 
AddressRange etc. to this library? Much like how Java has InetAddress super 
class and Inet4Address / Inet6Address.

Original issue reported on code.google.com by [email protected] on 12 Jan 2015 at 2:10

GoogleCodeExporter avatar Mar 14 '15 00:03 GoogleCodeExporter

Not a defect as such but I didn't spot the option for feature / improvement.

Original comment by [email protected] on 12 Jan 2015 at 2:21

GoogleCodeExporter avatar Mar 14 '15 00:03 GoogleCodeExporter

Actually a (closed source) predecessor of this project had support for both v4 
and v6. However, they were sort of living next to each other and not sharing 
much implementation/interface. I decided to start with v6 only for this 
library, given that v4 is already better supported in existing libraries.

Having said that, yes.. I am willing to consider accepting patches to support 
both v4 and v6 in the same library. We might have to change the name of the 
project though ;-)

Original comment by [email protected] on 12 Jan 2015 at 2:23

  • Changed state: Accepted

GoogleCodeExporter avatar Mar 14 '15 00:03 GoogleCodeExporter