cancel
Showing results for 
Search instead for 
Did you mean: 

How can I transfer large data over tcp socket?

yeom incheol
Associate
Posted on November 17, 2017 at 03:33

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?

0 REPLIES 0