mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 10:40:27 +09:00
Add warning in channel_open_forward documentation
Tell users it does not do magic (yet)
This commit is contained in:
@@ -672,6 +672,9 @@ int channel_open_session(ssh_channel channel) {
|
|||||||
*
|
*
|
||||||
* @param localport The source port (your local computer). It's facultative
|
* @param localport The source port (your local computer). It's facultative
|
||||||
* and for logging purpose.
|
* and for logging purpose.
|
||||||
|
* @warning This function does not bind the local port and does not automatically
|
||||||
|
* forward the content of a socket to the channel. You still have to
|
||||||
|
* use channel_read and channel_write for this.
|
||||||
*
|
*
|
||||||
* @return SSH_OK on success\n
|
* @return SSH_OK on success\n
|
||||||
* SSH_ERROR on error
|
* SSH_ERROR on error
|
||||||
|
|||||||
Reference in New Issue
Block a user