On Thu, 2010-11-25 at 16:33 +0100, Mariusz Dz wrote:
> tcp_write(pcb, hs->file, len, TCP_WRITE_FLAG_COPY);  After get data
> frome sd
> card i use: send_data(pcb, hs); tcp_sent(pcb, http_sent);
> tcp_output(pcb);
> (or without tcp_output that dont make any cange) 

Can you show us the actual code?

> About the 3. question i mean how make that i dont have to read all
> file at
> onec from sd card, but read some data, half file, send it the rest of
> file
> and it will be  treated as one file.

Just call tcp_write() repeatedly with the next block of data that you've
read.

Kieran


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to