SSH.Channel.PollReadable - charonn0/RB-libssh2 GitHub Wiki
SSH.Channel.PollReadable
Method Signature
Function PollReadable(Timeout As Integer = 1000, PollStdErr As Boolean = False) As Boolean
Parameters
| Name | Type | Comment |
|---|---|---|
Timeout |
Integer | Optional. The length of time to wait for activity, in milliseconds. |
PollStdErr |
Boolean | Optional. If True then the stderr stream is polled instead of stdout. |
Return value
Returns True if data is available in the channel's read buffer.
Remarks
This method polls the channel for readability. The DataAvailable, Disconnected, and Error events will be raised if appropriate.