[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Detecting hostname == localhost?
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2002-09-13 14:20:44
[Download RAW message or body]

On Fri, Sep 13, 2002 at 12:59:52PM +0200, Michael Goffioul wrote:
> That's not what I meant. Imagine you're working on a computer named
> "myhost.mydomain.com" with the given IP "165.89.3.54", I want to check
> if strings like:
> 
> myhost
> myhost.mydomain.com
> 165.89.3.54
> 
> corresponds to localhost, it means the computer you're working on.
>
then say "local host", not "localhost". ;-)
anyway, you want to find all local ip addresses of the box. see
kdm/backend/auth.c or kdm/chooser/CXdmcp.cpp (or kdm/backend/choose.c in
the make_it_cool branch).

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic