Hi,

On Wed, 2 Nov 2005 18:54:06 +0000
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> On Wed, 2 Nov 2005 16:53:11 +0100, brullo nulla wrote:
> 
> > You can also poll the ip by doing an ifconfig and parsing its output
> > inside your application. I think the overhead on the system would be
> > barely recognizable if you do a reasonable (no more than every 5
> > seconds, let's say) poll.
> 
> Wouldn't it be easier to use the output from "hostname -i"? It needs no
> parsing.

But it depends on proper reverse-resolution of the hostname. This isn't
usually the case for dialup-connections...

-hwh
-- 
gentoo-user@gentoo.org mailing list

Reply via email to