in reply to Creating an HTTP Server

In the book "Perl Cookbook", chapter 17 on Sockets would be of great help to you in this project. You are going to need either the 'IO::Socket' module (easier) or the 'Socket' module (for more control).

Also, you need to figure out if you want this mini-server to use forked processes, what protocol you are going to use (e.g. TCP, UDP), and whether it will run as a daemon. Good luck, there is more to this than meets the eye. ;-)