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 > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
