[Top][All Lists]

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

Re: [lwip-users] Socket API send command packaging up data

From: Sergio R. Caprile
Subject: Re: [lwip-users] Socket API send command packaging up data
Date: Tue, 31 Jul 2018 09:34:14 -0300
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

What you see is the Naggle algorithm.
It is the old trade off, delay or throughput. If your application
requires throughput, you want it. If you do need short delay, it can
usually be minimized by some configuration function/option.
The RAW API lets you tweak mostly at will, but the interface is not as
friendly as sockets and definitely not standard.
In all cases, the amount of bytes delivered at the other end is not
necessarily related to your calls to the API; though it can be tamed by
proper config and/or calling.
There are many threads in the list on this very subject, you can search
for some or wait for one of the gurus to give you some clues. For the
socket stuff, it is mostly standard.

reply via email to

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