Unable to create netlink socket in centOS — protocol not supported -


I am using the CentOS Linux release 7.0.1406 (core) I'm of kernel version 3.10.0-123.el7 I am using. X86_64

When I am creating a netlink socket, it fails.

  int sock_fd = socket (PF_NETLINK, SOCK_RAW, 1) sock_fd has a value of -1  

When I was using 3.1 kernel version of CentOS , Then the socket function was working above. I want to create a netlink socket on kernel version 3.10.0

I am getting "Unable to create netlink socket - protocol is not supported"


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -