I am trying to write an application that uses the Net::SFTP (which uses Net::SSH::Perl) module.
Net::SSH::Perl uses IO::Select, which uses the base select(rd,wr,ed,timeout) function to handle multiple sockets concurrently.
(ONLY sockets are in the list of handles being monitored in my case).
on Windows this base function returns successfully once, and then from then on returns immediately with count = -1, $!= "unknown error"..
how can I debug this further? I really need to finish this application.
I don't see a requirement to reset anything, and this code works perfectly in unix based systems.
help!!!
Perl -V output
Locally applied patches:
ActivePerl Build 1004 [287188]
33741 avoids segfaults invoking S_raise_signal() (on Linux)
33763 Win32 process ids can have more than 16 bits
32809 Load 'loadable object' with non-default file extension
32728 64-bit fix for Time::Local
Built under MSWin32
Compiled at Sep 3 2008 13:16:37
Sam