MsgUdpIn

Purpose:

Process incoming UDP datagrams for CyFlex, processing frames based on start and end delimiters and setting events for received messages.

Enter:

MsgUdpIn [pri=priority] <d=device_name> <port=port> [to=time_out] [v=verbose_file] [sof=sof_str] [eof=eof_str] 

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.

to

Optional. Specify a time out value in seconds. A time out causes an error log.

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 “rn”.

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.

See Also: