Re: retrieve the standart gateway



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
.



Relevant Pages

  • Re: retrieve the standart gateway
    ... how can i retrieve the standart gateway in a C-App? ... column and the Mask column are both 00000000 ...
    (comp.os.linux.development.apps)
  • Re: retrieve the standart gateway
    ... how can i retrieve the standart gateway in a C-App? ... Open /proc/net/route and find the line where the Destination ... all that an application can access without making system calls is ...
    (comp.os.linux.development.apps)
  • retrieve the standart gateway
    ... how can i retrieve the standart gateway in a C-App? ...
    (comp.os.linux.development.apps)