See IO::Select.
After Compline,Zaxo
In reply to Re^3: Using IO::Socket by Zaxo in thread Using IO::Socket by Earindil