in reply to How do I do a non-blocking accept?
use Fcntl; fcntl(Connection, F_SETFL, O_NONBLOCK) or die "can't set non blocking: $!"; [download]