略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ssh2_forward_listen

2024-11-13

ssh2_forward_listen

(PECL ssh2 >= 0.9.0)

ssh2_forward_listenBind a port on the remote server and listen for connections

说明

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.

警告

本函数还未编写文档,仅有参数列表。

参数

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, 或者在失败时返回 false.

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.ssh2-forward-listen.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3