Function netlink_proto::new_connection_with_socket
source · pub fn new_connection_with_socket<T, S>(
protocol: isize
) -> Result<(Connection<T, S>, ConnectionHandle<T>, UnboundedReceiver<(NetlinkMessage<T>, SocketAddr)>)>
Expand description
Variant of new_connection
that allows specifying a socket type to use
for async handling