my $msgLength = 12; # send_client is the length of the incoming message. my $send_client = recv( $client, $message, $msgLength, 0 );