if ($connection == $listen_socket) { my $client = $listen_socket->accept(); $select->add($client); $client->recv($data,1024); }