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.
-- gentoo-user@gentoo.org mailing list