Niche utility libraries that treat IP addresses as mathematical types.
Use for arithmetic, bitwise operations, iteration, and arbitrary sets and ranges of IP addresses. Useful for implementing network element management systems, DOCSIS provisioning systems, etc.
These libraries do not perform any network I/O but enable conversion to/from standard types that do. Types tend towards immutable values and type safety via generics.
Implementations are available for Java and Go.
Feature | Java | Go |
---|---|---|
API | Javadoc | pkg.go.dev |
License | Apache License Version 2.0 | Apache License Version 2.0 |
Compatibiliy | Java 8 and above | Go 1.22.1 and above |
Dependency Hint | uk.ipfreely:addresses |
github.com/ipfreely-uk/go/ip |
Source Code | Java Maven Project | Go Module |
Binaries | Maven Central | not applicable |
GitHub: https://github.com/ipfreely-uk