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

Flushing ssh_channel_write() ?


Hi,

while implementing my ssh server (with a 0.5 snapshot), I noticed that
data sent to the client with ssh_channel_write() doesn't seem to be sent
out immediately. Sometimes it only appears in the client when the client
presses another key.

Is there a way to flush the data written with ssh_ channel_write() to
make sure it gets sent ?

samplesshd doesn't have this issue, but my server doesn't enter
ssh_channel_read immediately after ssh_channel_write(). It only
does so when the client socket has new data to be read.

Thanks,
Jan

-- 
Jan Willamowius, jan@xxxxxxxxxxxxxx, http://www.gnugk.org/

Archive administrator: postmaster@lists.cynapses.org