in reply to Re: socket help
in thread socket help

$_ is supposed to be $ARGV[0].
PeerAddr => $ARGV[0],
I've also tried using backticks
chomp(my $output = `ls /tmp 2>&1`);
It's like the client isn't waiting for the server to finish