Thank you Andreas.

Mark Anthony G. Santos
Sr. Software Engineer, Product Development
office: 63 976-3600 ext. 779630 | mobile: 63 9423794048
[email protected] / / http://www.infor.com


-----Original Message-----
From: Andreas Schneider [mailto:[email protected]] 
Sent: Tuesday, September 22, 2015 4:53 PM
To: [email protected]
Subject: Re: Packet corrupt when high latency

On Tuesday 22 September 2015 08:28:55 Mark Anthony Santos wrote:
> Thanks!
> 
> But I'm not using pthread in my application. I'm using windows thread. 
> I'm not pretty sure if sshlib supports threads other than pthread.

Just for you a copy & paste and the most important sentence highlighted:

At all times, you may use different sessions inside threads, make parallel 
connections, read/write on different sessions and so on.

    *You cannot use a single session (or channels for a single session) in
     several threads at the same time.*

This will most likely lead to internal state corruption. This limitation is 
being worked out and will maybe disappear later.

-- 
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                [email protected]


Reply via email to