beautypg.com

Sundance SMT6060-TCPIP User Manual

Page 27

background image

Revision 0.4

Page 27 of 27

Sundance Digital Signal Processing Inc.

4790 Caughlin Parkway 233, Reno, NV 89519-0907, U.S.A.

Tel: +1 (775) 827-3103, Fax: +1 (775) 827-3664, email:

[email protected]

www.sundancedsp.com

During this test, the receiver client application connected with the sender server
application and exchanged data with it.

6.12. MULTIC EXAMPLE

This is a multi client example. It make use of the sendc and recvc tasks, so you need to have build those
before attempting to build this example. The configuration file for this example places a single instance
of both the sendc and recvc tasks on the embedded network.

You need to run the sender and receiver server programs on your development machine.

sender 12601
sender:

listening on 0.0.0.0:12601 ...

sender: connect from 192.128.64.6:2122 [8192 sndbuf]
sender: continuous send

receiver 12701
receiver: listening on 0.0.0.0:12701 ...
receiver: connect from 192.128.64.6:1865 [8192 rcvbuf]
receiver: continuous recv

Build and run the multic application. You should see output similar to that shown below.

Figure 19 - SMT6060-TCPIP Multic Example Output

Note that the port values 12601 and 12701 are specified in the configuration file for the application. The
technique used is to bind values to the input ports of a task. Refer to the 3L Diamond user guide for
more information.

6.13. MULTID EXAMPLE

This example illustrates a multi daemon application running on the embedded system. It uses the sendd
and recvd tasks, so please ensure that you have build those prior to building this application.

Build and run the multid application.