(PECL ssh2 >= 0.9.0)
ssh2_forward_listen — Bind a port on the remote server and listen for connections
$session
, int $port
, string $host
= ?
, int $max_connections
= 16
) : resource|falseBinds a port on the remote server and listen for connections.
Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.
session
An SSH Session resource, obtained from a call to ssh2_connect().
port
The port of the remote server.
host
max_connections
Returns an SSH2 Listener, Im Fehlerfall wird false
zurückgegeben..