Function new_tunnel_component

Source
pub fn new_tunnel_component(
    config: TunnelConfig,
) -> Result<(TunnelDispatcher, Puncher)>
Expand description

Construct the needed components for p2p communication with the given tunnel configuration