The ip4areas library homepage

The ip4areas library is a collection of C++ classes to work with ip-addresses (I mean IPv4 addresses hereinafter), masks, subnets and, finally, arbitrary sets of addresses (ip areas) which are represented as optimized sorted lists of subnets.

The library provides methods of reading text representations of ip-addresses as well as generating such representations (which can then be printed)

No other libraries are needed to use ip4areas. Nothing but the C standard library is used by the code (these strcmp, strcpy etc). This means that, as usual, I don't use STL in the code, neither containers, neither string class, nor stream io. Heh, personally I just hate STL. C++ is nice. STL is a bad monster.

This doesn't mean you can't use STL together with ip4areas. Use whatever libraries you want. This rather means you can avoid using STL if you want -- which would be impossible if I have used it in ip4areas.

The library is available under the terms and conditions of GNU Lesser General Public License, v. 2.1.

The last version is 0.4.50 and it is available for downloading in the form of a source tarball here via ftp and here via http. In case you run a rpm-based Linux distribution, you can also download .src.rpm packages here via ftp and here via http.

This is beta version. Please don't expect too much. I'm really sorry that, as for now, I've got no documentation for the library. I hope to add it later, and for now just take a look at the header files.

C++ libraries at Croco.Net

Valid HTML 3.2!

The page changed February 05, 2007