--- projects/cms/source/host/ihost-perl/ihost.pl 2001/02/13 12:28:50 1.16 +++ projects/cms/source/host/ihost-perl/ihost.pl 2001/02/27 19:14:26 1.17 @@ -9,8 +9,8 @@ # methods as you see fit. # - pjm2@ukc.ac.uk # -# $Author: tdb $ -# $Id: ihost.pl,v 1.16 2001/02/13 12:28:50 tdb Exp $ +# $Author: pjm2 $ +# $Id: ihost.pl,v 1.17 2001/02/27 19:14:26 pjm2 Exp $ #------------------------------------------------------------ $| = 1; @@ -32,6 +32,7 @@ use vars qw ( $tcp_port $filter_addr $file_list + $fqdn ); if (@ARGV != 2) { @@ -118,6 +119,13 @@ sub tcp_configure() { $file_list = $response; print "File list obtained: $file_list\n"; + + print $sock "FQDN\n"; + $response = <$sock>; + chop $response; + $fqdn = $response; + + print "FQDN returned: $fqdn\n"; print $sock "UDPUpdateTime\n"; $response = <$sock>;