If you do not want to use IO::Socket then your best bet is to do what it does. First place the socket into non-blocking mode, then call connect, then use select(). The socket will become readable when connected.
In reply to Re: Setting timeout threhold when connecting to a socket.
by gbarr
in thread Setting timeout threshold when connecting to a socket.
by ehdonhon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |