>> > Also, when comparing to command line tools (like OpenSSH 
>> sftp), libssh2 is 
>> > much slower because its approach to sending/receiving is 
>> synchronous where 
>> > as the command line tools use asynchronous approach. When 
>> libssh2 sends 
>> > onepacket, it can not send another before the previous one 
>> is acknowledged.
>> 
>> At what packet level is this "acknowledgement" done? I don't 
>> see any such ACK 
>> packets in RFC4253, or am I just blind?

"Acknowledgment" is a wrong word, sorry. Libssh2 blocks while it waits
for response to a sent request. Command line tools do not have this
limitation. They have their own "stack" implementation where they fire
away tens of requests for data after first few successfull requests and
they take care of the ordering of received responses based on TCP
sequences. Thus the bandwidth is never unused as the requests and
responses are fulfilling it to its capacity.

Sorry for the incorrect and confusing wording.

/jUSSi
-- 
perl -e '[EMAIL PROTECTED],0112,0,0],[0,0101,0,0],
[0,0120,0,0],[0,0110,0,0]];$[=256/8-0x1D;
print(chr(@{$_}[+($[+1-1+1)]))for(@[EMAIL PROTECTED]);'

____________________________________________________________________________________
Comptel Finland is moving to new premises. 
Starting from July 9 our new visiting address is Salmisaarenaukio 1, 00180 
Helsinki,
and the postal address is P.O.Box 1000, FI-00181 Helsinki
____________________________________________________________________________________

Disclaimer: This message and any attachments thereto are intended solely for
the addressed recipient(s) and may contain confidential information. If you
are not the intended recipient, please notify the sender by reply e-mail and
delete the e-mail (including any attachments thereto) without producing,
distributing or retaining any copies thereof. Any review, dissemination or
other use of, or taking of any action in reliance upon, this information by
persons or entities other than the intended recipient(s) is prohibited.
Thank you.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to