socket.getfqdn()
    Robert Olson 
    olson at mcs.anl.gov
       
    Thu Jan 30 15:48:14 CST 2003
    
    
  
 From Venue.py:
         self.coherenceHost = socket.getfqdn()
Note that this is likely to be broken on Windows. There is code available 
in that can reliably determine the hostname (mostly by believing the 
GLOBUS_HOSTNAME that was set. Hm, that was set by the helper app that went 
out and did an actual DNS query by hand (through a python DNS 
implementation) to determine it, so that code could be included at startup).
Also need to think about the case where there are multiple network 
interfaces (a common occurence of this lately is with machines with VPN 
clients).
--bob
    
    
More information about the ag-dev
mailing list