hello everyone!
The testing of libssh2-1.2.8-20110111,
Compiled with visual c++ 6.0 and has following errors:
libssh2-1.2.8-20110111\src\session.c(359) : error C2065: 'socklen_t' :
undeclared identifier

Also has two linking errors:
Linking...
   Creating library Release_dll/libssh2.lib and object
Release_dll/libssh2.exp
agent.obj : error LNK2001: unresolved external symbol __imp__findwind...@8
agent.obj : error LNK2001: unresolved external symbol __imp__sendmessa...@16

execute the example sftp_write_nonblock.c with
lib 1.2.7:
Fingerprint: BA 7C C3 63 61 E6 CB A1 52 82 00 E3 F7 8F C3 7E 5C 85 DA 54
libssh2_sftp_init()!
libssh2_sftp_open()!
libssh2_sftp_open() is done, now send data!
30989877 bytes in 81 seconds makes 382591.1 bytes/sec
all done

lib 1.2.8
Fingerprint: BA 7C C3 63 61 E6 CB A1 52 82 00 E3 F7 8F C3 7E 5C 85 DA 54
libssh2_sftp_init()!
libssh2_sftp_open()!
libssh2_sftp_open() is done, now send data!
30989877 bytes in 61 seconds makes 508030.8 bytes/sec
all done

the performance has increased 32%:
*(508 030.8 - 382 591.1) / 382 591.1 = 0.32786884*
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to