in reply to Timeout problem using IO::Socket
Have you considered pinging (Net::Ping) the host first to make sure it is alive before you enter the IO::Socket section of your code? It may be much easier than handling the connection timeout the way you want to.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Timeout problem using IO::Socket
by geektron (Curate) on Sep 28, 2000 at 02:51 UTC |