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

Detect a timeout on Command Execution


Hi,

I want to detect a timeout on non-blocking and blocking mode.

If i execute a command via (ssh_channel_request_exec) and read the channel
with
(ssh_channel_read_timeout) How do I detect a timeout ?

If (ssh_channel_is_eof) is false and readBytes from
(ssh_channel_read_timeout) is 0 --> can i assume a timeout ?

regards,
bruno

Archive administrator: postmaster@lists.cynapses.org