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

Archive Index This month's Index

Subject: Re: Is it possible to do session.startup and session.userauth_password in non blocking manner?

Re: Is it possible to do session.startup and session.userauth_password in non blocking manner?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 28 Jun 2012 23:38:48 +0200 (CEST)

On Fri, 29 Jun 2012, aalok sood wrote:

> How do I make libssh2_session_startup(), libssh2_userauth_password() behave
> in a non-blocking manner?

Set mode non-blocking and then call the functions.

If they're not non-blocking then (when using the latest libssh2 version),
there are bugs in there that we need to fix.

Can you provide source code examples that reproduce problems for us?

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-06-28

the libssh2 team