>> I have written new versions of the transport layer functions 
>> libssh2_packet_read() and libssh2_packet_write() that both 
>> should work with non-blocking sockets and they return a specific 
>> error code instead of blocking.
>> 
>> I've verified that the ssh2_sample program still works with 
>> my replacements.
>> 
>> I've also started to modify how those functions are used 
>> within the library to enable that the caller functions take 
>> advantage of their abilities.
>> 
>> There are a LOT of functions in libssh2 and most of them are 
>> not written with non-blocking behaviour in mind. I'll focus 
>> on enabling SCP and SFTP transfers to get the main transfer 
>> phase done completely with non-blocking functions.

Hi,

sounds good. 

Has anyone given any thought for the asynchronous transfer yet? 

Async mode would give huge performance boost for transferring large
quantities of data.

br,

/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]);'

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.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to