> -----Original Message-----
> From: Franck Collineau [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 11, 2001 9:16 AM
> To: [EMAIL PROTECTED]
> Subject: gethostbyaddr
> 
> 
> Greetings,
> 
> I have the following code:
> 
> @host=gethostbyaddr ("10.194.60.52",2);
> 
> print "$host[0]\n";
> 
> I have no results.
> 
> Nevertheless, the IP adress 10.194.60.52 exists
> 
> What's happen ?

You're not calling gethostbyaddr() correctly. Go back and
read the docs for an example.

   perldoc -f gethostbyaddr

See also:

   perldoc Net::hostent

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to