Viestiss� Perjantai 20. Joulukuuta 2002 22:21, Stephen Mah kirjoitti:
> Do any of you know a library call to get the current route table in
> linux (in any language)?  I need to get the "default gateway" in the
> client application.

The interface to routing tables is through the /proc filesystem (AFAIK). See 
/proc/net/route and /proc/net/rt_*

-- 
        Markku Kolkka
        [EMAIL PROTECTED]



-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to