PORT Command

Applies to: OSC mode. Can be set and read in any mode; takes effect only in OSC mode.

By default, in OSC mode the data is sent out using the UDP protocol to remote host port 10002. The data is sent to the IP address of the connected TCP client. The application that receives the data must bind a datagram socket to this port.

If required, this port can be changed with the PORT command to satisfy specific user needs; for example, if multiple CT-BOX units are connected to the same host, each one can send data to a different port.

Command Format:

R/W

Command

Response

Description

R

PORT:?

<port>

Read the current port number

W

PORT:<port>

ACK / NAK:x

Set a new port number

Parameter(s):

Name

Type

Default

Description

<port>

int

10002

UDP remote host port for the data stream

Note

Unlike the IP, MASK and GATE settings, the new port takes effect immediately: no CT-BOX reset is required.

Example(s):

PORT:?
10002

PORT:10012
ACK