--- loncom/lonnet/perl/lonnet.pm 2007/03/28 20:28:31 1.853 +++ loncom/lonnet/perl/lonnet.pm 2007/03/28 21:44:13 1.854 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.853 2007/03/28 20:28:31 albertel Exp $ +# $Id: lonnet.pm,v 1.854 2007/03/28 21:44:13 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -53,6 +53,7 @@ use Digest::MD5; use Math::Random; use LONCAPA qw(:DEFAULT :match); use LONCAPA::Configuration; +use Apache::lonhosts; my $readit; my $max_connection_retries = 10; # Or some such value. @@ -150,7 +151,7 @@ sub create_connection { Type => SOCK_STREAM, Timeout => 10); return 0 if (!$client); - print $client ("$hostname:$lonid\n"); + print $client (join(':',$hostname,$lonid,&machine_ids($lonid))."\n"); my $result = <$client>; chomp($result); return 1 if ($result eq 'done');