RE: [Ssh-sftp-perl-users] sock->blocking(0) Can't set socket non-blocking
Brought to you by:
dbrobins
From: Yishay W. <yis...@ho...> - 2005-06-27 13:01:59
|
1) Are you using Net::SSH::W32Perl ? Might be a good idea if you're not 2) Are you using the latest version of Net::SSH::W32Perl ? I think what you described was a bug that was fixed in the latest version of Net::SSH::Perl >From: "Stengel, Roland" <rol...@sa...> >To: <ssh...@li...> >Subject: [Ssh-sftp-perl-users] sock->blocking(0) Can't set socket >non-blocking >Date: Mon, 27 Jun 2005 14:52:26 +0200 > >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. > >I appreciate any help. > >Thanks >Regards >Roland >CSN Component : XX-INT-TOOLS-JAPRO >Team email address : DL_JAPRO_SUPPORT <mailto:DL_...@sa...> > > _________________________________________________________________ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ |