Hey I've downloaded the latest stable release and compiled it with MSYS/MinGW and the examples failed to build because SOCKET is not defined (and any program/lib trying to use libssh2 with MSYS/MninGW will fail to compile)
Indeed, WinSock2.h is included only with vc++. To fix that, line 90 must be replaced by #ifdef _WIN32 regards Vincent Torri
_______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel