if(!<$client>){ print "Auth error\n"; } else { print <$client>; }