Gianvy,

fork() doesn't work too well on Windows, but others can give you more
details.

One other speed up (which you may already be doing) is to put the IP
addresses that you have already reversed in a hash where the IP address is
the key and the hostname is the data.  Then before, taking the time to look
up an IP address, you first check to see if it is already in the hash.

Most of the lookup time is spent waiting for responses to IP addresses whose
resolution eventually fails.  When an IP address lookup does fail, still put
that IP address in your hash as BOTH the key and the data.  This will
prevent you from trying to look it up again and suffering the long delay
before failing.

Merrill

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to