
Jodrell
Deleted
Dec 1, 2000, 2:02 AM
Post #3 of 5
(452 views)
|
The snippet of code on that page isn't really useful in this context. I'm actually reading IP addresses from a log file, so I don't have an open socket to the host to work with. The part I tried before I made the post was <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR> $hostname = gethostbyaddr($ipaddr, AF_INET);</pre><HR></BLOCKQUOTE> which returns nothing. Is there an explanation enywhere of what the AF_INET bit means, and what other arguments this function accepts? ------------------ http://www.custard.org/~jodrell
|