On Thu, Jun 19, 2008 at 8:52 AM, Xiaofan Chen wrote: > I am trying to see if I can write some simple C based program > to test the HTTP demo project from Microchip > (http://www.microchip.com/tcpip). The demo project is using > the browser as the host program to test various aspect of > the TCP/IP stack (turn on/off LED, updating button status, > cookies, file updates, form processing, etc). > > My goal right now is quite modest, say I just want to > turn on/off the LEDs using a C based program under > Linux/Windows. Are there any examples out there? > > Xiaofan You are wanting to make a C-based program to make an http request? You could use one that's written for you, e.g. "wget". or two lines of your preferred higher level language (Python, for me). I wrote a C-based tcp server yesterday and it's a little more involved. I recommend Stevens, "Unix Network Programming Volume I", an excellent book. Regards, Mark markrages@gmail -- Mark Rages, Engineer Midwest Telecine LLC markrages@midwesttelecine.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist