On Thu, Mar 05, 2009 at 01:51:31PM +0000, Nick Martin wrote: > It works, but I'm a bit confused. Why do I have to use a new dgram > socket to get/set the device flags?
Because ugly old ioctl() interface works this way... :/ > It seems more intuative to use the > fd to the device to set the device flags. Is this new dgram socket > useful for anything else? Any socket of PF_INET family (even type stream or raw) may be used, and you can reuse it lately or close immediately. It seems me this socket has no persistent relation to tun/tap interface itself. -- Eugene Berdnikov ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ VTun-devel mailing list VTun-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vtun-devel