in reply to Re^3: SSH2 - Asynchronous Opens & Synchronous Commands
in thread SSH2 - Asynchronous Opens & Synchronous Commands
Update: I plan to give Salva's suggestion a try, but not until after I finish with my Net::OpenSSH test...
"The trick would be to call $ssh2->blocking(0) just after creating the Net::SSH2 object and then calling connect and auth_* while checking for LIBSSH2_ERROR_EAGAIN errors and then using the select function to wait for data to arrive at some of the underlaying sockets."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: SSH2 - Asynchronous Opens & Synchronous Commands
by BrowserUk (Patriarch) on Apr 05, 2014 at 15:20 UTC |