[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: channel_poll() is blocking
[Thread Prev] | [Thread Next]
- Subject: Re: channel_poll() is blocking
- From: Andreas Schneider <mail@xxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 12 May 2010 19:05:19 +0200
- To: libssh@xxxxxxxxxx
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
Re: channel_poll() is blocking | Bart Simpson <b_a_r_t@xxxxxxx> |
channel_poll() is blocking | Bart Simpson <b_a_r_t@xxxxxxx> |
Re: channel_poll() is blocking | Aris Adamantiadis <aris@xxxxxxxxxxxx> |
Re: channel_poll() is blocking | Bart Simpson <b_a_r_t@xxxxxxx> |