lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] 2 packets received in tcp and passed as only 1 with dou


From: address@hidden
Subject: Re: [lwip-users] 2 packets received in tcp and passed as only 1 with doubled size
Date: Sat, 23 Sep 2017 20:14:21 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

gussabina wrote:
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....

I would not have expected this (normally, you'd get one recv call per segment), but as Dirk already said, your application must be prepared to handle this, as it can always be the case that segments get combined if there are TCP retransmissions.

Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]