ConnectedPort Property

This property holds the remote port to which the connection was established.

Object Oriented Interface

public function getConnectedPort($sshchannelid);

Procedural Interface

ipworksssh_sshreversetunnel_get($res, 5 , $sshchannelid);

Default Value

0

Remarks

This property holds the remote port to which the connection was established. This should match the Port parameter passed to the RequestForwarding method.

The $sshchannelid parameter specifies the index of the item in the array. The size of the array is controlled by the SSHChannelCount property.

This property is read-only and not available at design time.

Data Type

Integer

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 PHP Edition - Version 20.0 [Build 8501]