in reply to Re: Detecting a port "in use" on localhost:$port
in thread Detecting a port "in use" on localhost:$port

Great explanation. I moved alarm(0) outside of eval and that seems to do the trick.

thanks.

-------------------------------------
Nothing is too wonderful to be true
-- Michael Faraday