Wednesday, 8 February 2006

perl IO::Select server

There seems to be a lack of a good standard single-process, multiple-connections server module for perl. I couldn't find one yesterday, anyway (Net::Daemon can only handle multiple connections simultaneously if you have a threads-enabled perl). So I have written one: Net::SelectServer. It used select to multiplex different clients, and it's protocol-neutral, so should work with more than just TCP sockets.

0 comments:

Post a Comment