Example: Simple Client

Top  Previous  Next

The Simple Client example demonstrates how to use the Diamond TCP/IP stack to implement a simple client application on a DSP.

A host machine runs a server application to which the client connects. The server sends some text to the client. The client prints the text which appears in the Diamond server or in the Diamond IDE.

 

Running the Example

Make sure you have set the default processor type corresponding to the hardware you have as explained here.

 

Make sure you have the correct hardware connections as explained here.

 

Build and run the host server from C:\3L\My Designs\examples\TCP_IP\TCP\Simple_Client\PC.

 

You can build the application by typing Ctrl+B and then execute it by clicking run.

Dragons003Make sure you start the server first.

Prerequisites

You  need the following components to be able to run this example:

 


Hardware

Quantity


3L Diamond DSP licence

1


3L Diamond TCP/IP Stack licence

1