Re: [GnomeMeeting-devel-list] Ekiga with notebook



Damien Sandras wrote:
>>Would it be possible to include functionality (perhaps bound to a
>>checkbox in the preferences) to let Ekiga always listen on the interface
>>from which the default gateway is reached?
> 
> I don't see how I could code that actually...

I don't know whether there is a C-function, but you can get the
information out of /proc/net/route.

The "default interface" is the one with destination "00000000".

Regards,
Hannes



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]