[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-members] can you help me?
From: |
liliwu |
Subject: |
[lwip-members] can you help me? |
Date: |
Tue, 26 Aug 2003 22:13:43 +0100 |
Dear Sir/Madam,
Can you do me a favour.
I am MSc student in Liverpool university. Meet a problem in my project.
In my project I use eCos, ARM for develop TCP/IP, then use your Lwip. But I
use your httpd.c file to transmit diagram, it dosen't work.
could you tell me what is necessary when I write the header for
transfer *.gif file, is it enough if I write
http://1.1 200 ok
content-type: image/gif
that is: static const char hdata2[] __attribute__ ((aligned)) = {
'H', 'T', 'T', 'P', '/', '1', '.', '1', ' ', '2',
'0', '0', ' ', 'O', 'K', 0xd, 0xa, 'C', 'o', 'n',
't', 'e', 'n', 't', '-', 'T', 'y', 'p', 'e', ':',
' ', 'i', 'm', 'a', 'g','e', '/', 'g', 'i', 'f',
0xd, 0xa};
for my http program I can use it transfer html file but can't transfer
gif file, can you tell me where can be wrong?
In program before I transmit the *.gif file I change it into hexadecimal
first then tranmit it. is there any problem here?
can you give me a direction?
Thank you very much!
I am should finish my project as soon as possible, waitting your answer!!!!
your liliwu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-members] can you help me?,
liliwu <=