array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'function.ssh2-forward-listen.php', 1 => 'ssh2_forward_listen', ), 'up' => array ( 0 => 'ref.ssh2.php', 1 => 'SSH2 Funções', ), 'prev' => array ( 0 => 'function.ssh2-forward-accept.php', 1 => 'ssh2_forward_accept', ), 'next' => array ( 0 => 'function.ssh2-methods-negotiated.php', 1 => 'ssh2_methods_negotiated', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/ssh2/functions/ssh2-forward-listen.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL ssh2 >= 0.9.0)
ssh2_forward_listen — Bind a port on the remote server and listen for connections
$session
,$port
,$host
= ?,$max_connections
= 16Binds a port on the remote server and listen for connections.
Esta função não está documentada; apenas a lista de argumentos está disponível.
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, ou false
em caso de falha.