This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RL-TCPnet TCP reception problem

Hello,

When I send an TCP packet (1022 bytes) from my PC, I receive the packet in 2 times (with TCP_EVT_DATA).
536 bytes first and 486 bytes.

I don't understand why I can't receive it in one time.

Anybody can help me ?

Thanks.

Parents
  • Ok

    My old platform (with 8 bits Atmel CPU ) receive the packet in one time.

    So why with this configuration,
    #define TCP_MTU 1460 /* TCP default max. transfer unit */
    #define TCP_DEF_MSS 1460 /* TCP default max. segment size option */
    I receive always first 536 bytes.
    Why 2 packets, It is bad for the performance I think

Reply
  • Ok

    My old platform (with 8 bits Atmel CPU ) receive the packet in one time.

    So why with this configuration,
    #define TCP_MTU 1460 /* TCP default max. transfer unit */
    #define TCP_DEF_MSS 1460 /* TCP default max. segment size option */
    I receive always first 536 bytes.
    Why 2 packets, It is bad for the performance I think

Children