On 28/03/2012 13:59, Simon Kelley wrote:
Linux has a sockopt, SO_BINDTODEVICE which does this job admirably, but isn't portable.

How interesting... I wanted to do exactly this on just linux for a project I'm working on - I didn't realise that this option existed! Cool! Thanks!

(Now I just need to figure out how to use it from perl sockets...)

Many thanks for the tip!

Ed W

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to