[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ssh server: how to do select-driven I/O?

On Wednesday 11 September 2013 13:27:16 Dave Mitchell wrote:
> I'm trying to write a Linux ssh server daemon, where the main loop
> is select driven: i.e. wait for an event on the set of active filehandles,
> then do an accept or a non-blocking read/write as appropriate.

libssh uses poll() and is doing that with a ssh_event


	-- andreas

Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx

Archive administrator: postmaster@lists.cynapses.org