NAME ^

examples/io/httpd.imc - HTTP server

SYNOPSIS ^

    % ./parrot examples/io/httpd.imc

DESCRIPTION ^

A very tiny HTTP-Server. Currently only understands GET method. It's a nice way of testing pretty all io funtions.

By default it binds to localhost:1234, and serves the HTML Documentation in ./docs/html. Make sure you have built them with

    % make html

After that you can browse the documenation with

    http://localhost:1234/html/index.html

Currently the URL isn't decoded, so the docs get served only partially

Be sure to set PARROT_NET_DEVEL to 1 in io/io_private.h and rebuild Parrot or the network layer won't exist.

TODO make it work on W32/IE


parrot