On Tuesday 17 March 2015 12:10:51 sam...@nm.ru wrote: > Hello, > > I have question about using of ssh_select. > It's required to wait events on several descriptors (ssh and not ssh). The > system select or ssh_select can be used for this purpose. > > But I have problem with error cases after ssh_bind_accept(). Common > algorithm is:
Hey, you should use the ssh event loop and callbacks, see: https://git.libssh.org/projects/libssh.git/tree/examples/ssh_server_fork.c?h=v0-7 -- andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.org a...@cryptomilk.org