www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

Subject: Re: Cannot set up sftp connection?

Re: Cannot set up sftp connection?

From: Peter Stuge <peter_at_stuge.se>
Date: Thu, 2 Jul 2009 13:40:01 +0200

Steven Van Ingelgem wrote:
> I imagine there should be a better wait than while ( ) sleep(...);
> loops for waiting for the ssh/sftp-events to happen?
> What can I do about that?

select() or maybe libevent ?

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-07-02

the libssh2 team