karyon_net::udp

Function dial

Source
pub async fn dial<C>(
    endpoint: &Endpoint,
    config: UdpConfig,
    codec: C,
) -> Result<UdpConn<C>>
where C: Codec + Clone,
Expand description

Connects to the given UDP address and port.