On Wednesday 15 July 2015 16:25:36 Phil Lello wrote: > Hi all, > > I'm currently developing my first server with libssh, but am a little > uncertain as the the use of ssh_bind_set_callbacks - there doesn't seem to > be a call to add the bind to ssh_event....
That's a really good questions. It looks like the API is not complete. We have a ssh_bind_get_poll() function isn't called by anything so the callback can't be triggered at all. Go with this example ... https://git.libssh.org/projects/libssh.git/tree/examples/ssh_server_fork.c -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.org [email protected]
