Thanks Noam, I got what you are saying. I could not work on this yet. I will try as you suggested.
Regards Anand On Thu, Sep 1, 2016 at 12:26 AM, Noam Weissman <n...@silrd.com> wrote: > Hi Anand, > > > I do not know what HTTP server you use but what I sent earlier is just a > skeleton or pseudo code > > for you to get an idea on how to send a large buffer in chunks. > > > If you cannot send the hole buffer (make sense) and you are limited with > memory you must wait > > for the TCP stack to free the buffer it used to send your data before you > can send more. Here comes > > the sent call back in hand... it synchronizes sending and freeing of > memory. > > > Do you understand that ? > > > Try and follow the code I wrote in an earlier reply. > > > Good luck, > > Noam. > > > ------------------------------ > *From:* lwip-users <lwip-users-bounces+noam=silrd....@nongnu.org> on > behalf of goldsi...@gmx.de <goldsi...@gmx.de> > *Sent:* Wednesday, August 31, 2016 9:31 PM > *To:* Mailing list for lwIP users > *Subject:* Re: [lwip-users] LW IP - TCP instantaneous data transmission > > anand arjunan wrote: > > Should I do something in the http_sent callback to make room for next > > set of data ? > > I'm afraid I don't really understand your questions. As Noam said, have > a look at the http server, I guess you can learn everything you need > from there. > > SImon > > _______________________________________________ > lwip-users mailing list > lwip-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lwip-users > lwip-users -- Mailing list for lwIP users - lists.nongnu.org > <https://lists.nongnu.org/mailman/listinfo/lwip-users> > lists.nongnu.org > Welcome to the lwip-users mailing list. Use it to ask questions, share > your experience and discuss new ideas. To see the collection of prior > postings to the list ... > > > _______________________________________________ > lwip-users mailing list > lwip-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lwip-users >
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users