HTTP server that handles requests through IO devices?

Posted by StackedCrooked on Stack Overflow See other posts from Stack Overflow or by StackedCrooked
Published on 2010-05-07T18:46:42Z Indexed on 2010/05/07 18:48 UTC
Read the original article Hit count: 132

Filed under:
|

This question can probably only be answered for Unix-like systems that follow the "everything is a file" idiom.

Would it be hard to create a web server that mounts local devices for handling http traffic? It would enable a program to read raw http requests from /dev/httpin (for example) and write the responses to /dev/httpout. I think this would be nice because it would allow me to create a web server from any programming language that is capable of handling IO streams.

I don't really know where to start on this. Any suggestions on how to setup such a system?

© Stack Overflow or respective owner

Related posts about iostream

Related posts about http