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



On Sat, 04 Feb 2006 15:18:40 +0100
Hannes Ebner <dev stdout at> wrote:

> 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".

This gives you the default interface, but I'm not sure why this helps.

What if your gatekeeper/registrar is not on the default interface?

   Craig


-----------------------------------------------------------------------
 Craig Southeren          Post Increment ? VoIP Consulting and Software
 craigs postincrement com au                   www.postincrement.com.au

 Phone:  +61 243654666      ICQ: #86852844
 Fax:    +61 243673140      MSN: craig_southeren hotmail com
 Mobile: +61 417231046      

 "It takes a man to suffer ignorance and smile.
  Be yourself, no matter what they say."   Sting




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