There are any number of modules on CPAN that might help you
accomplish that, like maybe
http://search.cpan.org/~tscanlan/NetworkInfo-Discovery-0.12/lib/NetworkI
nfo/Discovery/Scan.pm or it's brethren.  Or roll your own with
IO::Socket.   I recommend search.cpan.org.  
        But depending on what you actually need to accomplish, something
like netcat or some Windows freeware might be a simpler solution.  I do
portscans all the time, and I have yet to use Perl to do it. 
        -C 

> -----Original Message-----
> From: Anthony J Segelhorst [mailto:[EMAIL PROTECTED] 
> Sent: Monday, March 22, 2004 1:51 PM
> To: [EMAIL PROTECTED]
> Subject: Port Status Command in Perl
> 
> 
> Is there a perl call to tell if a port is open or closed 
> built into Perl?
> 
> I am basically trying to build a perl script to monitor ports 
> on Windows 
> Servers and I am trying to stay away from system commands.
> 


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to