User`s manual

320 digi.com Command Line Interface
-t NetAddress:TcpName:TcpPort
15.5 Examples
The following examples illustrate using multiple command line switches at the same time. If the switches
on the command line are contradictory, such as -mr and -mf, the last switch (read left to right) will be
used.
Example 1
In this example, all current settings of default.dcp are used for the compile.
dccl_cmp samples\timerb\timerb.c
Example 2
In this example, all settings of myproject.dcp are used, except timer_b.c is compiled to
timer_b.bin instead of to the target and warnings or errors are written to myouputs.txt.
dccl_cmp samples\timerb\timer_b.c -o myoutputs.txt -b -pf myproject
Description: Use TCP with parameters defined in a contiguous colon separated format of
NetAddress:TcpName:TcpPort
. Include all parameters even if only one is
being changed.
netAddress: n.n.n.n
tcpName: Text name of TCP port
tcpPort: decimal number of TCP port
Factory Default: None.
GUI Equivalent: Select the Communications tab of Project Options. Select the “Use TCP/IP
Connection” radio button.
Example:
dccl_cmp myProgram.c -t 10.10.6.138:TCPName:4244