Results 1 to 3 of 3
Hi all
I am pretty new in network programming, I want to write C program to delete routing entry in linux machine. Can anyone give me some examples for this ...
- 10-13-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 2
Rmeove routing entry by C programming

Hi all
I am pretty new in network programming, I want to write C program to delete routing entry in linux machine. Can anyone give me some examples for this problem please.
Thank you very much in advance.
- 10-13-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Why do you want to do this via a C program? There are system commands that can be used from the shell to do this, or you can invoke them from your C program.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 10-14-2009 #3Just Joined!
- Join Date
- Oct 2009
- Posts
- 2
Thank you very much for your suggestion,It seem works. But, I want to pass the string of IP address that I want to delete to a function. In my application I got a string of IP address from socket and I want to pass this value to some function to remove from routing table. Is it possible to do that in C and how? Thank you again for your kindness.


Reply With Quote