Re: [ROOT] ip address in TSocket, TNetFile, etc

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Aug 14 2000 - 13:33:00 MEST


Hi Quan,

   I've fixed this problem. Working version is available from CVS.
Thanks for reporting this problem.

Cheers, Fons.


Quan Zhu wrote:
> 
> The Linux machine I setup on our LAN gets only an ip address, but no
> hostname. Although applications like ping, telnet, ftp all seem to work
> fine (java's socket class also seem to work ok as well), but root's
> TSocket, TNetFile, TFile/rootd doesn;t seem to work with machines that
> only has an ip address.
> 
> I think the problem comes from the 'gethostbyaddr' call, which would fail
> when the machine you connect to (from another on the LAN) has only ip
> address (this is the case for my machine). but I'm not sure about this.
> 
> quan
> 
> ________________
> USTC Alumni Email System, http://mail.ustc.edu,  FREE Signup.

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:31 MET