[LON-CAPA-cvs] cvs: loncom / lond

foxr foxr@source.lon-capa.org
Thu, 20 Jan 2011 10:55:02 -0000


foxr		Thu Jan 20 10:55:02 2011 EDT

  Modified files:              
    /loncom	lond 
  Log:
  Replace deprecated Reuse flag with ReuseAddr flag in listen call.
  
  
Index: loncom/lond
diff -u loncom/lond:1.468 loncom/lond:1.469
--- loncom/lond:1.468	Tue Jan 11 10:32:00 2011
+++ loncom/lond	Thu Jan 20 10:55:02 2011
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.468 2011/01/11 10:32:00 foxr Exp $
+# $Id: lond,v 1.469 2011/01/20 10:55:02 foxr Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -15,6 +15,7 @@
 #
 # LON-CAPA is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
+
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 # GNU General Public License for more details.
 #
@@ -58,7 +59,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.468 $'; #' stupid emacs
+my $VERSION='$Revision: 1.469 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -5998,7 +5999,7 @@
 $server = IO::Socket::INET->new(LocalPort => $perlvar{'londPort'},
                                 Type      => SOCK_STREAM,
                                 Proto     => 'tcp',
-                                Reuse     => 1,
+                                ReuseAddr     => 1,
                                 Listen    => 10 )
   or die "making socket: $@\n";