Simple TCP sockets client example?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Simple TCP sockets client example?

947 Views
jpa
Contributor IV

Is there a complete example of a simple TCP sockets client around somewhere?  Found a server (quote-a-day?), but no client. 

 

I have an app that works fine under Linux on an Intel box, but after some modifications for MQX and a lot of head banging, I still don't have something that connects and talks to the server.  I was getting it to connect to the server, but adding in the recv call was crashing the code completely (as in, before it even got to the recv call).  Then I figured out that the task needed more stack space,  increased it to 4000 or 6000 and it no longer crashes, but it also no longer connects.  

 

FWIW, I'm running on a very old M52233DEMO board, so I'm thinking I may also need to patch the phy_mfc5223x.c code for the speed problem?

 

John

Labels (1)
Tags (1)
0 Kudos
1 Reply

365 Views
Steamy
Contributor II

From Technical  Support I got a server-client example but it is for the MCF52259.

You can easily port it to your system.