[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: [lwip-users] Problem with multi file sending http server
From: |
Kieran Mansley |
Subject: |
Re: Re: [lwip-users] Problem with multi file sending http server |
Date: |
Thu, 25 Nov 2010 15:58:49 +0000 |
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] Problem with multi file sending http server, Mariusz Dz, 2010/11/25
- Re: Re: [lwip-users] Problem with multi file sending http server, Mariusz Dz, 2010/11/25
- Re: Re: [lwip-users] Problem with multi file sending http server,
Kieran Mansley <=
- Re: Re: [lwip-users] Problem with multi file sending http server, Mariusz Dz, 2010/11/25
- Re: Re: [lwip-users] Problem with multi file sending http server, Mariusz Dz, 2010/11/25
- Re: Re: [lwip-users] Problem with multi file sending http server, Mariusz Dz, 2010/11/26
- Re: Re: [lwip-users] Problem with multi file sending http server, Mariusz Dz, 2010/11/26
- Re: Re: [lwip-users] Problem with multi file sending http server, Mariusz Dz, 2010/11/26