sub threads { my ($msg, $peerAddr, $peerPort) = @_; sleep 1; return [1, $msg]; }