bug-gnustep
[Top][All Lists]
Advanced

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

NSHost bug/annoyance


From: Larry Campbell
Subject: NSHost bug/annoyance
Date: Mon, 12 Nov 2001 14:35:45 -0500

If you call [NSHost hostWithAddress] with a host that lacks a reverse name mapping you get this spew:

Nov 12 14:32:10 snmptest[10286] Host '209.104.33.44' not found using 'gethostbyaddr()' - perhaps the address is wrong or networking is not set up on your machine

This is really annoying. Most of the time this is not the user's fault and there's nothing they can do about it. I think returning nil in this case is quite sufficient.

- lc




reply via email to

[Prev in Thread] Current Thread [Next in Thread]