Хазанский Роман wrote
> I couldn't find any info 
> that suggested this would be wrong or that I shall wait for previous
> tcp_write to be completed, so I went with it.

According to this document
https://www.eremex.ru/upload/iblock/d11/lwip_rawapi.pdf
the top of page 4 says:
"TCP data is sent by enqueueing the data with a call to tcp_write(). When
the data is successfully transmitted to the remote host, the application
will be notified with a call to a specified callback function."
So I think you should do the same instead of successive tcp_writes without
being sure that the data was sent.



--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to