RemotePort Property

The port where the remote SNMP agent is listening.

Object Oriented Interface

public function getRemotePort();
public function setRemotePort($value);

Procedural Interface

ipworkssnmp_snmptcpmgr_get($res, 23 );
ipworkssnmp_snmptcpmgr_set($res, 23, $value );

Default Value



The RemotePort is the port on the RemoteHost to send SNMP requests to.

A valid port number (a value between 1 and 65535) is required. The default value is 161.

Data Type


Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks SNMP 2020 PHP Edition - Version 20.0 [Build 7941]