Writing an HTTP server is one of the most simple thing to do so. Also the good thing is that there are tons of examples, for example this one: http://www.ibm.com/developerworks/systems/library/es-nweb/ But yes, you can use a pre written server, however, if that is not configured correctly that is not safer than the one programmed by yourself in a wrong way. Tamas On 30 September 2012 16:56, V G wrote: > On Sun, Sep 30, 2012 at 7:37 PM, Tamas Rudnai >wrote: > > > It is very easy actually to do so, you just need to listen to a port > (some > > socket programming skills required), then you connect to the > > http://local: > > from your browser and from the C program you simply print out HTML page= s. > > If you want to go fancy you can service AJAX requests too, and it makes > > your program a very professional looking and feeling that way. It does > not > > make it portable though, however, with gcc you can easily port your app > to > > Win/Linux/Unix/Mac. > > > > > That approach presents many security vulnerabilities. It's also too much > work for something that a tiny cgi-capable web server is designed to do. > Also, by using CGI, your program uses standard STDIO and environment > variables - can't get any easier than that. > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 int main() { char *a,*s,*q; printf(s=3D"int main() { char *a,*s,*q; printf(s=3D%s%s%s, q=3D%s%s%s%s,s,q,q,a=3D%s%s%s%s,q,q,q,a,a,q); }", q=3D"\"",s,q,q,a=3D"\\",q,q,q,a,a,q); } --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .