uCon HomePage

Script Cmd: MONCMD


MONCMD [-p:vw:] {target_ip_address} {"string_to_target"}

Pass the specified string to the target and wait for the prompt. This is a "moncmd" client. This client allows uCon to communicate with a target that is running MicroMonitor or the equivalent of the MicroMonitor command server. It simply passes the "string_to_target" text to the target via UDP and waits for a response. The response is printed in uCon's trace window when the MONCMD trace bit is enabled.

Options:

-p {port_no}    by default, moncmd uses UDP port 777; this allows the user to override that.
-v              turn on verbosity.
-w {seconds}    by default moncmd will wait 10 seconds for a response; this allows the
                user to override that.

A value of zero here tells moncmd not to wait at all.

This value can be specified as a float; hence supporting a resolution of 100ths of a second.

Note1: This is only useful with systems running MicroMonitor or the equivalent of the MicroMonitor command server.
Note2: As of Sept 2006, uCon can run the eqivalent of the MicroMonitor moncmd server . This means that one uCon session can communicate with another over UDP. Refer to the MONCMD server for more information on this.