> I'm trying to write some basic network troubleshooting scripts.  They
> work fine, as far as checking server status, uptime, etc.
> 
> My problem is that my network is growing and I need these things to be
> FAST.
> 
> Can someone give me a pointer towards what library would help me learn
> to open multiple sockets simultaneously?  (Like starting 10 different
> network diagnostics on threads 1-10 instead of waiting for the
> unavailable host 1 to time out before I can test host 2.)
> 
> Thanks for any help,
> 
> _-_
> gar

fork() creates threads on Win32 nowadays so just fork() out as many 
threads you like and run each test in its own thread. You may then 
share the information between the threads with IPC::Shareable, IPC::ShareLite or 
something. I think Amine has a Win32 specific module for shared 
memory at http://www.generation.net/~aminer/Perl/ so that one should 
work under WinNT/2000 for sure.

HTH, Jenda

== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ==
: What do people think?
What, do people think?  :-)
             -- Larry Wall in <[EMAIL PROTECTED]>
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to