[Ssh-sftp-perl-users] sock->blocking(0) Can't set socket non-blocking
Brought to you by:
dbrobins
From: Stengel, R. <rol...@sa...> - 2005-06-27 12:52:41
|
Hi, I try to use Net::SSH on Windows XP, Perl 5.6.1. On opening a connection the Net::SSH::Perl.pm fails: P102414: Reading configuration data /.ssh/config P102414: Reading configuration data /etc/ssh_config P102414: Connecting to unix, port 22. P102414: Remote protocol version 1.99, remote software version OpenSSH_3.6p1 P102414: Net::SSH::Perl Version 1.28, protocol version 1.5. P102414: No compat match: OpenSSH_3.6p1. Can't set socket non-blocking: at C:/perl/site/lib/Net/SSH/Perl.pm line 216, <GEN0> line 1. I commented the blocking statement out # defined($sock->blocking(0)) # or die "Can't set socket non-blocking: $!"; And it worked then. I wonder, since the non-blocking mode should work on a system which struggles using threads.=20 I appreciate any help. Thanks Regards Roland CSN Component : XX-INT-TOOLS-JAPRO Team email address : DL_JAPRO_SUPPORT <mailto:DL_...@sa...>=20 |