Are you aware TCP is a STREAM protocol, NOT a PACKET based protocol like UDP? The behavior sounds perfectly fine.
Dirk On Fri, Sep 22, 2017 at 5:24 PM, gussabina <gussab...@yahoo.com> wrote: > Hello: > > I'm using lwIP 1.4.1 with FreeRTOS 7.30 running on Atmel ATSAM4E, with an > application creating a tcp (mqtt) connection to the cloud via ethernet. I > noticed in some cases, where 2 consecutive packets are sent from the cloud > (in a very short time between them), even when 2 TCP segments are received > in the ethernet interface (as observed in wireshark), the stack passes only > one packet with double size.... > In this case the application fails as it's not what would expect.... > > How can this be avoided? > > Thanks > Gus > > > > -- > Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html > > _______________________________________________ > lwip-users mailing list > lwip-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lwip-users >
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users