On Thu, 2009-11-12 at 14:48 +0100, Bernhard 'Gustl' Bauer wrote: > Simon Goldschmidt schrieb: > > You did the correct thing, tcp_sent should do the trick. If not, > > that's a bug (either in lwIP, the way you are using it, or in your > > code or port) which needs to be analysed. > > It seams I'm making some progress. http_sent is not called after all > packets are sent. It is called after each ack the browser sends! > > So the one thing I need to know when is the last ack/call. Any idea how > to do this?
Each time tcp_sent is called it tells you how much data has been released. Keep a count of this. When your count equals the size of data you sent, you know it's all done. Kieran _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
