Re: retrieve the standart gateway



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
--
Josef Möllers (Pinguinpfleger bei FSC)
If failure had no penalty success would not be a prize
-- T. Pratchett

.



Relevant Pages

  • 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 ...
    (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)