lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-users] tcp_write and dynamic data (was: Optimizing TCPwrites)


From: Bill Auerbach
Subject: RE: [lwip-users] tcp_write and dynamic data (was: Optimizing TCPwrites)
Date: Fri, 7 Mar 2008 10:33:16 -0500

It is being called.  If I view the data to be freed, it's intact.  The data
received on the PC is the same data with the first word trashed because
free() overwrites the first word of the data block.  In my case, tcp_write
is being called repeatedly with < tcp_sndbuf amount of data so the first
call to tcp_sent has no data since the preceding tcp_write took all of it.

Would turning on TCP_OUTPUT_DEBUG and adding a printf in my tcp_sent be
useful for you to see the transaction?

Thanks,
Bill

> -----Original Message-----
> tcp_sent callback should not be called until the data are ACKed.  If
> it's still in the send queue there's a bug.
> 
> Kieran
> 
> 
> 
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users





reply via email to

[Prev in Thread] Current Thread [Next in Thread]