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

Archive Index This month's Index

Subject: Re: Question about an eventloop.

Re: Question about an eventloop.

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

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

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

Ok.

>
>
> > 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
issues?

>
>
> > > 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?

Stef

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2015-08-25

the libssh2 team