ssh2_forward_listen

(PECL ssh2 >= 0.9.0)

ssh2_forward_listenBind a port on the remote server and listen for connections

Descrizione

ssh2_forward_listen(
    resource $session,
    int $port,
    string $host = ?,
    int $max_connections = 16
): resource|false

Binds a port on the remote server and listen for connections.

Avviso

Questa funzione, al momento non รจ documentata; รจ disponibile soltanto la lista degli argomenti.

Elenco dei parametri

session

An SSH Session resource, obtained from a call to ssh2_connect().

port

The port of the remote server.

host

max_connections

Valori restituiti

Returns an SSH2 Listener, o false in caso di fallimento.

Vedere anche:

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top