[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: channel_poll() is blocking


Good to know. The problem is that my chief told me today when I have no 
solution till friday I have to use putty-tools with system() function for the 
first version of my software.
But for later versions we will use definitve libssh, or something like that.

Thanks a lot for your help.

Thomas


Am Mittwoch, 12. Mai 2010 19:05:19 schrieb Andreas Schneider:
> On Wednesday 12 May 2010 18:47:54 you wrote:
> > Hi Aris,
> > that sound logical for me, but there is a another problem.
> > I tried the same test program on different maschines and the result is
> > very strange.
> >
> >
> > result is only the return value of channel_poll(channel, 0) without the
> > while loop, etc.
> >
> > case 1:  windowsPc (company) --->   linuxServer (company)   result: -1
> > case 2:  windowsPc (home)    --->   linuxServer (home)      result:  0
> > case 3:  linuxPc   (home)    --->   linuxServer (company)   result:
> > works! case 4:  linuxPc   (home)    --->   linuxServer (home)     
> > result: works!
> >
> > (linux ---> linuxServer works always,  windows ---> linuxServer fail,
> > but with different results)
>
> I think the problem is the poll(2)-emulation. I've rewritten the poll(2)-
> emulation. It will be shipped with libssh 0.4.3 which we plan to release
> next Sunday.
>
> You can build the latest v0-4 branch if you want and help testing.
>
>
> Cheers,
>
>
> 	-- andreas



Follow-Ups:
Re: channel_poll() is blockingAndreas Schneider <mail@xxxxxxxxxxxx>
References:
channel_poll() is blockingBart Simpson <b_a_r_t@xxxxxxx>
Re: channel_poll() is blockingBart Simpson <b_a_r_t@xxxxxxx>
Re: channel_poll() is blockingAndreas Schneider <mail@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org