1libssh2_channel_forward_accept(3)libssh2 manuallibssh2_channel_forward_accept(3)
2
3
4
6 libssh2_channel_forward_accept - accept a queued connection
7
9 #include <libssh2.h>
10
11 LIBSSH2_CHANNEL * libssh2_channel_forward_accept(LIBSSH2_LISTENER *lis‐
12 tener);
13
14
16 listener is a forwarding listener instance as returned by libssh2_chan‐
17 nel_forward_listen_ex(3).
18
20 A newly allocated channel instance or NULL on failure.
21
23 When this function returns NULL use libssh2_session_last_errno(3) to
24 extract the error code. If that code is LIBSSH2_ERROR_EAGAIN, the ses‐
25 sion is set to do non-blocking I/O but the call would block.
26
28 libssh2_channel_forward_listen_ex(3)
29
30
31
32libssh2 0.15 1 Jun 2007 libssh2_channel_forward_accept(3)