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.
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
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