in reply to Re: gethostbyname bug?
in thread gethostbyname bug?
This should work like a champ, although (myself and OzzyOzbourne were talking about this in the chatterbox), someone (tilly?) mentioned that in 5.6 the unpack isn't necessary. I can't confirm this though.my $packedIP = gethostbyname("www.perlmonks.org"); print join('.', unpack("C4", $packedIP)), "\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(redmist) RE: RE: Re: gethostbyname bug?
by redmist (Deacon) on Sep 09, 2000 at 06:16 UTC | |
by BastardOperator (Monk) on Sep 09, 2000 at 06:53 UTC | |
|
RE: RE: Re: gethostbyname bug?
by OzzyOsbourne (Chaplain) on Sep 11, 2000 at 22:01 UTC |