[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] gethostbyaddr



I'm working on a problem with our DNS servers, Apache, and PERL.

$host = gethostbyaddr("x.x.x.x",AF_INET);
print "$host\n";

This code (when an IP is substituted) doesn't return anything- I think I've
followed all instructions properly. gethostbyname doesn't want to work,
either. It returns data, but it doesn't return a resolved hostname or IP no
matter what I feed it- it just returns what I gave it.

Anyway, I thought I'd ask here what I could possibly be screwing up before
I move on...

- Strider




  |
--+--	"If it's easy, you're not fighting hard enough."
  |
  |



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch