On Tue, Nov 20, 2007 at 11:04:12AM -0500, Jeremy Jackson wrote: > > The problem is, when binding to a specific interface, you have to track > interface addition/deletion. Some approaches are better than others, > but restarting the process or waiting for it to poll an interface, are > not ideal. If you track these events using netlink then the application can respond pretty much immediately. It's also easy to track because the netlink socket will just be another file descriptor in your select/poll loop. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html