Hi all,
I'm using TMS570lc4357 development board, I have implemented TCP/IP communication using lwip. I have one user application which is act as client and Tm kit works as server. Communication between them happening and both are receiving and sending data. But I'm facing issue here,
1. I'm trying to copy the server received (pbuf)data to local buffer. while copying I'm using size as p->tot_len value, here its not copy the size of date mentioned in the p->tot_len, it referring p->len value.
2. How to check how many data server read from the client? which value need to refer p->tot_len or p->len value?
3.I'm receiving data continuously p->tot_len value increasing, how to free my pbuf after read from the client?
Kindly give any suggestions,
Thank you
Basavanagouda