Re: [lwip-users] How do I restrict to one server connection using rawapi?

2017-06-26 Thread Sergio R. Caprile
You could check how the httpd app does. What I usually do is have a state variable shared among all the callbacks, so the application can know what is the state of the connection. ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.

Re: [lwip-users] Raw TCP Client - wait for ACK after each packet causes slowdown

2017-06-26 Thread Sergio R. Caprile
Have you read the docs ? the wiki ? you can pump into the buffer as much as it fits into the buffer. TCP can send as much as its window allows, and will certainly need ACKs to keep sending thereafter. http://lwip.wikia.com/wiki/Raw/TCP -- Sergio R. Caprile, Human Being, Bs.As., Argentina

[lwip-users] Raw TCP Client - wait for ACK after each packet causes slowdown

2017-06-26 Thread Adrian Figueroa
Hello! I wrote a TCP client (on STM32 microprocessor) that should send a large amount of data to a Windows host PC (TCP server). However, this is quite slow because the client waits for the ACK message after each transmitted packet. Data is sent like this: Client connects to Server Sends data