(PECL ssh2 >= 0.9.0)
ssh2_forward_listen — Bind a port on the remote server and listen for connections
$session
,
$port
,
$host
= ?
,
$max_connections
= 16
Binds a port on the remote server and listen for connections.
This function is currently not documented; only its argument list is available.
session
An SSH Session ressource, obtained from a call to ssh2_connect() .
port
The port of the remote server.
host
max_connections
Returns an SSH2 Listener, or
false
on failure.