Check out the source for iptables. libipq is an example of using the netlink sockets. http://netfilter.samba.org Tuan On Thu, 8 Nov 2001, Rajat Chadda wrote: > Can someone refer me to some piece > of code which illustrates the usage of > NETLINK sockets ??? > > > - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html