ssh2_forward_listen

(PECL ssh2 >= 0.9.0)

ssh2_forward_listenリモートサーバー上のポートにバインドし、接続を待つ

説明

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

リモートサーバー上のポートにバインドし、接続を待ちます。

警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

パラメータ

session

SSH セッションのリソースを指定します。 この値は、ssh2_connect() を呼び出すことで得られます。

port

リモートサーバー上のポート番号を指定します。

host

max_connections

戻り値

SSH2 リスナーを返します。 失敗した場合に false を返します.

参考

add a note

User Contributed Notes

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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant