obtain routing table
- From: "Roman Mashak" <mrv@xxxxxxxx>
- Date: Thu, 23 Mar 2006 14:45:13 +0700
Hello, All!
Is there a portable way (except system("netstsat -rn")) :) ) to get routing
table on *NIX systems. Some (not everywhere) have /proc, so we can try to
read /proc/net/route
Examples with routing sockets from Stevens book, don't work on Linux (at
least on 2.4.20 kernel I run)
Thanks in advance!
With best regards, Roman Mashak. E-mail: mrv@xxxxxxxx
.
- Follow-Ups:
- Re: obtain routing table
- From: Frank Cusack
- Re: obtain routing table
- From: James Carlson
- Re: obtain routing table
- From: Maxim Yegorushkin
- Re: obtain routing table
- Prev by Date: Re: thread pool
- Next by Date: Re: Problem with send()
- Previous by thread: how to check whether a process has completed or not
- Next by thread: Re: obtain routing table
- Index(es):
Relevant Pages
|