Crossposted at StackOverflow. It's considered polite to inform about crossposting, so people not attending both sites don't waste their time hacking a problem already solved at the other end of the internet.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Comment on Re: How to serve multiple socket clients Perl