Use sock_diag netlink interface to get sockets information
Saves parsing all these files in /proc/net. For now the old code path is retained as fallback when there is some error communicating with the kernel.
parent
5936057e
Please register or sign in to comment