I had converted the lwip_udpecho example into a project that could receive packets and send back responses on the FRDMK66F dev board.
I then did the same thing with lwip_tcpecho example. The TCP is many magnitudes slower than the UDP project. Something that the UDP project does under 1 second would take the TCP project over 10 seconds. I'm using winsock2 send and recv functions.
I expected TCP to be slower, but not to this degree. Has anyone seen this issue and have a solution to make TCP run at a more reasonable speed?
Hi @ryan_pearson :
If you expect TCP to be slow, please set TCP WND as low as possible.
Regards
Daniel