1 |
Hi, |
2 |
|
3 |
On Wed, 2 Nov 2005 18:54:06 +0000 |
4 |
Neil Bothwick <neil@××××××××××.uk> wrote: |
5 |
|
6 |
> On Wed, 2 Nov 2005 16:53:11 +0100, brullo nulla wrote: |
7 |
> |
8 |
> > You can also poll the ip by doing an ifconfig and parsing its output |
9 |
> > inside your application. I think the overhead on the system would be |
10 |
> > barely recognizable if you do a reasonable (no more than every 5 |
11 |
> > seconds, let's say) poll. |
12 |
> |
13 |
> Wouldn't it be easier to use the output from "hostname -i"? It needs no |
14 |
> parsing. |
15 |
|
16 |
But it depends on proper reverse-resolution of the hostname. This isn't |
17 |
usually the case for dialup-connections... |
18 |
|
19 |
-hwh |
20 |
-- |
21 |
gentoo-user@g.o mailing list |