TCP very slow

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

TCP very slow

663件の閲覧回数
ryan_pearson
Contributor III

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?

0 件の賞賛
返信
1 返信

648件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi @ryan_pearson :

 

If you expect TCP to be slow, please set TCP WND as low as possible.

 

Regards

Daniel

0 件の賞賛
返信