MsgUdpOut
Purpose:
-
Send UDP messages to a remote device. The message text is provided by the incoming CyFlex event.
Enter:
-
MsgUdpOut [pri=priority] <d=dev_name> <h=host> <port=p> <v=f> [sof=sof_str] [eof=eof_str]
Where:
-
pri
Optional. Specify the task priority. The default is 15.
d
Specify the remote device name.
h
Specify the host name or IP address of the device. The default is 127.0.0.1.
port
Specify the port destination to send messages.
v
Specify stdout or a report filename.
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:
-
MsgUdpOut pri=12 d=GAC h=127.0.0.1 port=7880 v=/tmp/udpOut_report
This example uses defaults for sof, eof, and host name. The report file is named udpOut_report saved in /tmp/ folder.