-
-
Notifications
You must be signed in to change notification settings - Fork 4
SSH.Channel.WaitEOF
Andrew Lambert edited this page Jun 19, 2022
·
7 revisions
Sub WaitEOF()
Enter a temporary blocking state until one of the following conditions is met:
- The server sends the EOF packet, indicating that no further data will be sent over the channel.
- The receive buffer is full.
- An error occurs.
If the EOF packet was received then LastError will be zero when this method returns.
If the receive buffer is full then LastError
will be LIBSSH2_ERROR_CHANNEL_WINDOW_FULL
(-47) when this method returns, in which case you need to Read() from the channel before calling this method again.
Any other value of LastError
when this method returns indicates a fatal error.
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.