MsgUdpIn
Purpose:
-
Receive streaming UDP communications using an extension of the AK protocol defined by California Analytics.
Enter:
-
MsgUdpIn [pri = priority] <d = device_name> <port = port> [v = verbose_file] [sof = sof_str] [eof = eof_str] [to = time_out]
Where:
-
pri
Optional. Specify the task priority. The default value is 15.
d
Specify the remote device name.
port
Specify the port on the local machine to serve.
v
Optional. Specify stdout or a report filename. The default is None.
sof
Optional. Specify a start of frame string. The default is None.
eof
Optional. Specify an end of frame string. The default is < CR >< LF >.
to
Optional. Specify a time out value in seconds. A time out causes an error log.
Example:
-
MsgUdpIn pri=16 d=CTC_MEXA port=7701 v=/tmp/udpIn_report eof=‘”rn”The execution in this example uses default sof, a priority of 16, a CTC_MEXA device, port number 7701, end of frame string specified by “rn”, and a report file named udpIn_report
Notes:
-
1. There must be a corresponding test interface and TCP task (i.e. for the same device_name) for this to work.
2. The port must be unique to this device_name, i.e., the same port cannot be used for more than one remote device.