Re: retrieve the standart gateway
- From: Bernhard Strasser <b.strasser@xxxxxxxxx>
- Date: Tue, 28 Nov 2006 13:00:40 +0100
Josef Moellers schrieb:
Bernhard Strasser wrote:
Hi,
how can i retrieve the standart gateway in a C-App ?
g' bernd
Open /proc/net/route and find the line where the Destination (i.e. 2nd)
column and the Mask (i.e. 8th) column are both 00000000
Josef
thanks !!
is there a alternative to use something like ioctl to get this info ?
do you know a way to set the standartroute in a c-app without a system
call ?
bernd
.
- References:
- retrieve the standart gateway
- From: Bernhard Strasser
- Re: retrieve the standart gateway
- From: Josef Moellers
- retrieve the standart gateway
- Prev by Date: Re: retrieve the standart gateway
- Next by Date: Re: Glibc patent
- Previous by thread: Re: retrieve the standart gateway
- Next by thread: Re: Glibc patent
- Index(es):
Relevant Pages
|