TCPSocket only transferring half the data im sending

29 Mar 2011

Hi Guys,

I am trying to transfer some data using a TCPSocket, but I seem to have the problem that only half my data is transferred.

I suspect every second packet is being dropped.

Is there any documentation on how to use a TCPSocket properly. Like a school example that works?

I have uploaded my test setup here:

http://mbed.org/users/tax/programs/TCPSpeedTest/lotufx

The python serevr script is embedded as a comment in main.c

Kind regards

Jesper

29 Mar 2011

Whoops my python script had a double recv.