[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Detect a timeout on Command Execution
[Thread Prev] | [Thread Next]
[Date Prev] | [Date Next]
- Subject: Detect a timeout on Command Execution
- From: Bruno Buzzi Brassesco <bruno.brasesco@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 4 Aug 2020 10:06:46 -0300
- To: libssh@xxxxxxxxxx
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