-
-
Notifications
You must be signed in to change notification settings - Fork 4
SSH.Channel.WaitClose
Andrew Lambert edited this page Jun 15, 2021
·
9 revisions
Sub WaitClose()
This method enters a temporary blocking state until the remote host closes the channel or until an error occurs. If the server is still sending data then this method will return once the receive buffer is full and the LastError code will be LIBSSH2_ERROR_CHANNEL_WINDOW_FULL
(-47), in which case you need to Read() from the channel before calling this method again.
This method is typically called after calling Close()
in order to examine the exit status of the command or program being executed.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2018-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.