Subject: Re: Question about an eventloop.

Re: Question about an eventloop.

From: Stef Bon <>
Date: Tue, 25 Aug 2015 23:04:38 +0200

2015-08-25 22:34 GMT+02:00 Peter Stuge <>:

> Stef Bon wrote:
> > Ok. If I write it and propose a patch here, would there be some interest?
> It depends on the patch.


> > Adding support for an eventloop is providing a callback when data is
> > available in the socket. This callback does almost the same as
> > _libssh2_channel_read.
> Have your patch make minimal changes to try start using the eventloop
> within libssh2 itself.
> And how do you want to differentiate between sync and async API
> calls?

I do not know yet howto deal with that. I haven't started yet. Are there

> > > You can implement extensions for whatever you want, but you have to
> > > support them on both client and server side.
> >
> > Where can I find documentation for this on the libssh2 website?
> This question does not make sense. What do you mean? There is no
> libssh2 documentation for how you write SSH protocol extensions.
> Read the secsh RFCs, 4250 onwards.

Why does my question not make sense? I'm afraid I do not understand you.
Isn't there documentation howto use extensions with libssh2?


Received on 2015-08-25