in reply to Networking with Perl

Have you looked at the Net::* modules on the CPAN? Or IO::Socket? The Perl Cookbook has an example of a pre-forking server (you should be able to find it on the web as well), and the book Network Programming with Perl would also give you much clue.

Cheers,
KM