On Tue, 2002-12-31 at 10:12, Mark Goland wrote:
> I know there was already solution posted...

Ditto. I'm a bit late with this, but there's plenty of example code in
the IP::Country distribution of AND'ing IP addresses and looping through
subnet masks. I tend to use only

  pack('N',...

as this seems to be the friendliest format for cross-platform binary
files.

http://search.cpan.org/author/NWETTERS/IP-Country-2.07/

-- 
Nigel Wetters <[EMAIL PROTECTED]>
Perl Developer, Sun Certified Java Programmer
123 Ravensbury Road, London SW18 4RY
Tel. 020 8944 8633   <PGP: pgp.mit.edu>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to