Sundance SMT6060-TCPIP User Manual
Page 26

Revision 0.4
Page 26 of 26
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
Figure 17 - SMT6060-TCPIP Sendc Example Output
6.11. SENDD EXAMPLE
This example demonstrates an send() socket server application. A daemon task on a DSP node initializes
the sockets API, and then listens on a socket to inbound TCP/IP connections. Each task listens on a
different port number, thus creating a number of independent send servers on various ports.
Build and run the DSP application.
Figure 18 -SMT6060-TCPIP Sendc Example Output
smt6060-tcpip\examples\clients\receiver
Now run a receiver client instance on your development machine, and specify the IP address of the
SMT363. (The third parameter is the number of bytes to use during the test)
receiver 192.128.64.6 1 10000
receiver: connecting to 192.128.64.6:1 ...
receiver: connected to 192.128.64.6:1 [8192 rcvbuf]
receiver: 10000 maximum bytes to recv
recv: No error
receiver: 10000 bytes in 0.000 sec (0.000 Mbps)
receiver: stats min=1240 max=1460 avg=1428 cnt=7