[Top][All Lists]

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

Re: [lwip-users] Communication delays, if using lwIP in different networ

From: Kieran Mansley
Subject: Re: [lwip-users] Communication delays, if using lwIP in different network areas
Date: Thu, 11 Nov 2010 20:48:51 +0000

On 11 Nov 2010, at 19:12, Pettinato, Jim wrote:

> Benjamin,
> TCP tries to optimize network throughput by placing outgoing data on a 
> transmit queue, and sending when needed (or after a delay as you are seeing) 
> . For some connections (for example command/response type connections like 
> ModbusTCP) this is extremely inefficient because there is usually only one 
> small block of data written per outgoing packet anyway.
> To circumvent the delay you are seeing, your application should call 
> tcp_output() after queuing data with tcp_write().

I can't see how that would be affected by there being a router involved though.

I think to understand this problem we'll need to see
1) a packet capture.  
2) an example of how you're configuring your netif (e.g. the call to netif_add)
3) your lwipopts.h



reply via email to

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