pub fn new_connection_with_codec<T, S, C>(
protocol: isize,
) -> Result<(Connection<T, S, C>, ConnectionHandle<T>, UnboundedReceiver<(NetlinkMessage<T>, SocketAddr)>)>where
T: Debug + NetlinkSerializable + NetlinkDeserializable + Unpin,
S: AsyncSocket,
C: NetlinkMessageCodec,Expand description
Variant of new_connection that allows specifying a socket type to use
for async handling and a special codec