22 Oct 2010 10:45
RE: build and send a partion of a web page
Orly Bialer <orlyb <at> dekolink.com>
2010-10-22 08:45:57 GMT
2010-10-22 08:45:57 GMT
Thanks so much for replying. I have uIP webserver running on ARM M3 cortex 207. It works fine, it pings, upload webpages etc. But this example has the webpages hard hex coded in the code. I didn't find any where an example of dynamically building small portions of a web page, and sending it in sections. Can you please send me a link of the webserver that you are referring to. Thanks, Orly -----Original Message----- From: Pontus Oldberg [mailto:pontus.oldberg <at> invector.se] Sent: Thursday, October 21, 2010 7:06 PM To: uip-users <at> sics.se Subject: Re: [uip-users] build and send a partion of a web page Orly, Assuming that you are referring to uIP you could look at the webserver example. It shows how to pull data from the program storage as well as dynamically generate data to be displayed on the web page. You could easily modify the existing webserver to pull data from say an SD-card for instance, in order to have a much richer web content. /P Orly Bialer skrev: > I have a about 60KB RAM, but I want to transmit a web page of about > 200KB. > > > > I want to dynamically build each web page. > > > > I don't want to build the whole page at once, as I don't have the RAM > for that. I want to create only a section of the page, transmit it, > create the next section transmit it, etc. Only once I finished send the > whole page do I send the CRC, and wait for the LAST_ACK to close the UIP > connection. > > > > Does anyone know where in the code I need to do this. > > Do I transmit in the first packet the size of the whole data? > > > > Thanks > > Orly > > > CONFIDENTIALITY NOTICE: This message (including any attached files) is > intended only for the designated recipient(s). It may contain confidential > and/or proprietary information and should be deemed as being subject to > applicable confidentiality protections. If you are not a designated > recipient, you may not review, use, copy or distribute this message. If > you receive this message in error, please notify the sender by reply > e-mail and then delete this message. Thank you. > > > CONFIDENTIALITY NOTICE: This message (including any attached files) is intended only for the designated recipient(s). It may contain confidential and/or proprietary information and should be deemed as being subject to applicable confidentiality protections. If you are not a designated recipient, you may not review, use, copy or distribute this message. If you receive this message in error, please notify the sender by reply e-mail and then delete this message. Thank you.
RSS Feed