RE: [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 13:41:13
|
Thank you for your immediate response. No, I do not use Net::SSH::W32Perl. I took the CPAN package=20 Net-SSH-Perl-1.28 And some related modules listed in=20 =09 http://www.cpan.org/modules/by-module/Net/Net-SSH-Perl-1.28.readme Do you have any further information about the bug you mentioned? Thanks Regards Roland -----Original Message----- From: ssh...@li... [mailto:ssh...@li...] On Behalf Of Yishay Weiss Sent: Montag, 27. Juni 2005 15:02 To: ssh...@li... Subject: RE: [Ssh-sftp-perl-users] sock->blocking(0) Can't set socket non-blocking 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=20 Net::SSH::Perl >From: "Stengel, Roland" <rol...@sa...> >To: <ssh...@li...> >Subject: [Ssh-sftp-perl-users] sock->blocking(0) Can't set socket=20 >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...> > > _________________________________________________________________ Don't just search. Find. Check out the new MSN Search!=20 http://search.msn.click-url.com/go/onm00200636ave/direct/01/ ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. = http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclick _______________________________________________ Ssh-sftp-perl-users mailing list Ssh...@li... https://lists.sourceforge.net/lists/listinfo/ssh-sftp-perl-users |