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

RE: Packet corrupt when high latency


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.

Regards,
Mark


Mark Anthony G. Santos
Sr. Software Engineer, Product Development
office: 63 976-3600 ext. 779630 | mobile: 63 9423794048
markanthony.santos@xxxxxxxxx / / http://www.infor.com


-----Original Message-----
From: Andreas Schneider [mailto:asn@xxxxxxxxxxxxxx] 
Sent: Tuesday, September 22, 2015 4:17 PM
To: libssh@xxxxxxxxxx
Subject: Re: Packet corrupt when high latency

On Tuesday 22 September 2015 04:29:36 Mark Anthony Santos wrote:
> Hello,
> 
> I'm using sshlib in my application which is connecting to AIX server. 
> I have
> 2 threads one for writing in channel and one for reading from the channel.
> I noticed that when the latency from client to server is high ( > 200 
> ms) there's a high probability  that I will receive a corrupted packet 
> when I do successive write. Perhaps you can give me some advice how to 
> avoid this kind of error.

You will find the answer here:

http://api.libssh.org/master/libssh_tutor_threads.html


Cheers,


	-- andreas

-- 
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx


Follow-Ups:
Re: Packet corrupt when high latencyAndreas Schneider <asn@xxxxxxxxxxxxxx>
References:
Packet corrupt when high latencyMark Anthony Santos <MarkAnthony.Santos@xxxxxxxxx>
Re: Packet corrupt when high latencyAndreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org