[Libssh] Implementing a SSH server
Jan Willamowius
jan at willamowius.de
Fri Jan 2 23:56:57 CET 2009
Sorry, its server.h that is missing the extern C declaration.
Jan Willamowius wrote:
> Hi Aris,
>
> using ssh_bind_accept with a file descriptor in to-be-accepted state
> work better indeed.
> I didn't think of this, because ssh_bind_set_fd() is missing, but I
> wrote my fd directly into ssh_bind->bindfd and that works fine.
>
> Thanks for your help,
> Jan
>
> PS: To implement a server, one still needs to include priv.h and it
> would be great if you would accept the patch I submitted to add "extern
> C" declarations.
>
--
Jan Willamowius, jan at willamowius.de, http://www.willamowius.de/
More information about the Libssh
mailing list