use strict; use warnings; use Socket; my $host = 'localhost'; my $port = shift || '8888'; my $timeout = 3; my $result = portAlive( 'localhost', 8888); print "result = $result\n"; print `net start "CONTENTdm Monitor 9998"`; exit;
-------------------------------------
Nothing is too wonderful to be true
-- Michael Faraday
In reply to Re^2: Detecting a port "in use" on localhost:$port
by freddo411
in thread Detecting a port "in use" on localhost:$port
by freddo411
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |