AnsweredAssumed Answered

How can I transfer large data over tcp socket?

Question asked by yeom incheol on Nov 17, 2017

HI.  Please help.

CPU : STM32F207

Use the tcp_echoserver example to send and receive data. 

#define TCP_MSS 1460, #define TCP_TMR_INTERVAL 250


If data is sent in tcp_echoserver_poll function and the data to send at once is 2000byte,

should I send 540byte after sending 1460byte?

If I'm running the example above, send 1460 bytes and use the tcp_echoserver_poll function  A delay of 250ms occurs until it is re-executed. Is there a way to minimize this delay?