Differences between version 2 and previous revision of LinuxNetlinkSocketExample.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Wednesday, August 10, 2005 9:44:45 am | by AdrianKitto | Revert |
Older page: | version 1 | Last edited on Tuesday, August 9, 2005 10:22:46 pm | by PerryLorier | Revert |
@@ -1,7 +1,10 @@
This is a sample program that uses a netlink socket to listen to route change events and prints out some rudimentary information about them. It's very simple and boring, but hopefully useful.
This being a wiki, I also expect everyone to hack on this code and make it nicer, this is pretty hidious, but I want to get on with my real program now. So if you're reading this page your mission (if you choose to accept it) is to clean up the below code a little bit (doesn't need to be much).
+
+See LinuxNetlinkSockets
+
----
<verbatim>
#include <sys/socket.h>
#include <unistd.h>