Sundance SMT6060-TCPIP User Manual
Page 25

Revision 0.4
Page 25 of 25
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:
www.sundancedsp.com
sender: connecting to 192.128.64.6:1 ...
sender: connected to 192.128.64.6:1 [8192 sndbuf]
sender: 100000 maximum bytes to send
send: No error
sender: 100000 bytes in 1.000 sec (0.800 Mbps)
sender: stats min=1696 max=8192 avg=7692 cnt=13
The Diamond server should be displaying an output similar to this:
Figure 16 - SMT6060-TCPIP Recvc Example Output
The sender client application connects to the recvd server application running on the SMT363 and
exchanges data with it.
6.10. SENDC EXAMPLE
This application is a simple sender client implemented on the DSP network. To run, make sure you have
the receiver server running on your development machine.
smt6060-tcpip\examples\servers\receiver
receiver 1
receiver: listening on 0.0.0.0:1 ...
receiver: connect from 192.128.64.6:1646 [8192 rcvbuf]
receiver: continuous recv
recv: No error
receiver: 10000000 bytes in 7.000 sec (11.429 Mbps)
receiver: stats min=292 max=4380 avg=1453 cnt=6879
receiver: listening on 0.0.0.0:1 ...
The client application running on the DSP will connect to a sender server to exchange data with it.
In sendc.c, change the value
#define CONFIG_IP_ADDR
"192.128.64.3" // address of server
to the address of where the receiver server is running, and rebuild the DSP application.
Now run sendc.app.