Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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

Properties

RemoteHost, LocalPort, Status

Was this topic helpful?