On Wed, 2007-02-21 at 11:16 +0100, Sergio Cabrero Barros wrote:
[...]
> Does anyone know how to Bind (SO_BINDTODEVICE) the IPC socket of a plugin (ie: 
> Dot draw) to the interface that is running olsrd? Just like the olsrd socket 
> do.

If you want to bind it to an IP-address use the bind system call.
The setsockopt() call with the above option can be found in the source
somewhere - just grep for it.

Or did I misunderstand the question and what you are trying to do?

	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services



