lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Consecutive calls to sendto() and recvfrom() functions


From: D.C. van Moolenbroek
Subject: Re: [lwip-users] Consecutive calls to sendto() and recvfrom() functions
Date: Tue, 25 Oct 2016 17:25:21 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

Hello,

On 10/24/2016 13:44, pekez wrote:
For example, server receives only the last message, while the first three are 
not received/detected.

This would be consistent with lwIP's ARP_QUEUEING option being set to zero: while the lwIP stack is waiting for an ARP reply from the (Windows) server, it holds only the last packet being sent. You could confirm if this is the problem by changing your client to start by sending one packet and then sleeping for a second or so (thus allowing the ARP reply to come in), before entering the main loop. Change your server accordingly of course.

Regards,
David



reply via email to

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