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? If you want control from a program as apposed to interactively from a user, plain TCP would be easier than HTTP. I would set up a TCP server in the PIC that accepts a binary command stream from a client. Each command is a single opcode byte followed by data bytes specific to that opcode. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist