Main Content

RemotePort

Specify remote host port for connection

Description

You can configure RemotePort to be any port number between 1 and 65535. The default value is 80 for TCPIP objects and 9090 for UDP objects.

For TCPIP objects, you can configure RemotePort only when the object is disconnected from the hardware. You disconnect a connected object with the fclose function. A disconnected object has a Status property value of closed.

For UDP objects, you can configure RemotePort at any time.

Characteristics

Usage

TCPIP, UDP

Read only

While open (TCPIP), never (UDP)

Data type

Double

Values

Any port number between 1 and 65535. The default value is 80 for TCPIP objects and 9090 for UDP objects.

See Also

Functions

fclose, fopen, tcpip, udp