apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Spinetti <m.spine...@pisa.iol.it>
Subject CIDR
Date Thu, 23 Jun 2005 09:07:08 GMT
Hi all,
I'm writing an application which has to trasform a IP range to CIDR format.
For example:

212.141.198.0 - 212.141.255.255
can be rappresented as
212.141.198.0/23
212.141.200.0/21
212.141.208.0/20
212.141.224.0/19

In my opinion I coulb use apr: is it true?
Which function could  I use?

Thanks

marco

Mime
View raw message