UDP is "message based", you provide the whole payload and it will be
sent in a datagram.
TCP is "stream" based, data will be sent as it thinks it is best. As
long as you don't set TCP_WRITE_FLAG_COPY in apiflags, tcp_write() will
handle your data by building a PBUF_REF for each call and chaining
If you have problems with a vendor demo, then you should contact your
vendor.
[lwip]$ grep DHCP_WAIT_ADDRESS *
[lwip]$ cd ../lwip-contrib
[lwip-contrib]$ grep DHCP_WAIT_ADDRESS *
[lwip-contrib]$
The piece of code you mention does not belong to lwip.
Besides that, do you actually have a DHCP
Hi all!
In you application we run into problems with out of memory in PBUF_POOL
when the link is not stable. If the link comes up and goes down in less
then a second, it seems that buffers from PBUF_POOL are somehow lost.
The link-up/down detection is done in a separate thread, which reads
Dear All,
I am using LwIP with FreeRTOS. I am trying to transfer data received in
netbuf to a global array. and try to read in some other thread. i am able
to process the data in tcp_server_serve function. but if i try to read data
from other thread function i am reading 0.
i tried implementing