you will have to wait for the open attempt to fail--timeout--

Not true if you open the socket in non-blocking mode.


In reply to Re^3: Testing many devices - are threads the answer? by shmem
in thread Testing many devices - are threads the answer? by McDarren

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":