Results 1 to 3 of 3
Hi People,
I am having the hardest time to find the answer to how I can parse a route table from the linux 'route' command into my program.
The solution ...
- 10-31-2007 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 5
Reading Linux Routing Table into a C++ program
Hi People,
I am having the hardest time to find the answer to how I can parse a route table from the linux 'route' command into my program.
The solution is probably trivial, but I just can't pin my finger on it.
Can someone please shed some light on this?
Thanks in advance,
Jason, the sw-braindead guy.
- 11-01-2007 #2
Do the following at the command line:
Hope this helps.Code:man popen man pclose man fgets man sscanf
- 11-01-2007 #3Just Joined!
- Join Date
- Oct 2007
- Posts
- 5
Thank you. Works like charm.


Reply With Quote