Skip to main content
yeom incheol
Visitor II
November 17, 2017
Question

How can I transfer large data over tcp socket?

  • November 17, 2017
  • 0 replies
  • 649 views
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?

    This topic has been closed for replies.