- Try disabling TCP nagle to see if that's a problem - debug the pcb to see how many segments are in unsent/unacked of the pcb sending to PPP One problem is that we don't really have support for 1.4.
Hi All, I'm currently testing our hardware with lwip 1.4.1, and I see a big performance difference between using Netconn API and the RAW api. For baseline I have used the LPCopen sample 'TCP echo Sta
Hi Anand, This is just a skeleton, do not forget. You need to check the return value from PartToSend and if it is ZERO close the connection. I wrote it fast and did not check it … I am sure that yo
Hi Anand, You said that you are creating the data on the fly into memory. You need to create some kind of mechanism to create the data but send in chunks. I mean that you may need to create a fun
Hi Anand, You said that you are creating the data on the fly into memory. You need to create some kind of mechanism to create the data but send in chunks. I mean that you may need to create a functio
Calling tcp_output() sends the data, but that doesn't mean the buffer is free afterwards: it stays allocated until the remote host acknowledges it. At this point, lwip calls your 'sent' callback. Si
Hi, Before you start re-inventing the wheel why not take a readymade HTTP server ? You have a basic good HTTP server in the lwIP contribution or similar that runs in RAW API. BR, Noam. F
Calling tcp_output() sends the data, but that doesn't mean the buffer is free afterwards: it stays allocated until the remote host acknowledges it. At this point, lwip calls your 'sent' callback. Sim
Hi Dirk, I agree, this function is called when the data is sent to the client. In my case this will be called only once when the buffer is full (8*1460 bytes) and the data is sent to the client. But,
Hi, Before you start re-inventing the wheel why not take a readymade HTTP server ? You have a basic good HTTP server in the lwIP contribution or similar that runs in RAW API. BR, Noam. From: lwip-use
Check out tcp_sent() callback, it is called after data was successfully sent to remote station. http://www.nongnu.org/lwip/2_0_0/group__tcp__raw.html#ga1596332b93bb6249179f3b89f24bd808 Ciao Dirk -- D
Hi, I am using LWIP (Raw TCP mode) (in FreeRTOS) for handling http page requests, construct the web page and send the page to the client. I have set the TCP_SND_BUF as 8*TCP_MSS where TCP_MSS is 14
Hi all, I'm currently trying out some lwip demo's for my LPC1788 hardware. In the LPCopen 2.10 package there is some demo application (tcp echo) using lwip 1.4.1 One using raw TCP/IP standaolone (No
I've worked around this disabling Nagle Algorithm for each pcb and also calling tcp_output after every write. But somebody told me it was the wrong approach doing so, but it works for me so I don't k
Nice setup. I am using a TI LM3S9B92 which has an on board PHY. That's why I don't think I am experiencing packet loss. Hi, I use a second PC (with two separate ethernet port) between embedded board
Hi, I use a second PC (with two separate ethernet port) between embedded board and PC host. Traffic is redirect and filtered with a custom application, so I can receive packets from PC host and trasn
What technique are you using to prove are experiencing packet loss? Hi, when I receive data in my receive callback I only copy packet data in another buffer with DMA, then I think that my firmware ap
Hi, when I receive data in my receive callback I only copy packet data in another buffer with DMA, then I think that my firmware application doesn't take more time than expected one. In my main inste
My 2 cents: frame 644 gets lost ... frame 651 says "send 624651" frame 652 repeats, why ? possible software problem here, short timeout ? frame 653 is the retransmission frame 654 ACKs it for good fr
Hi, You should take an example and first run something that works. First of all you must check your lwipopts.h file. This is per project. Check if #define TCP_LISTEN_BACKLOG is set to 1 or not Check