Struct netlink_rust::Socket[][src]

pub struct Socket { /* fields omitted */ }

Netlink Socket can be used to communicate with the Linux kernel using the netlink protocol.

Methods

impl Socket
[src]

Create a new Socket

Create a new Socket which subscribes to the provided multi-cast groups

Subscribe to the multi-cast group provided

Send the provided package on the socket

Receive binary data on the socket

Receive Messages pending on the socket

Trait Implementations

impl AsRawFd for Socket
[src]

Extracts the raw file descriptor. Read more

Auto Trait Implementations

impl Send for Socket

impl Sync for Socket