UtpUdpContext

Type Alias UtpUdpContext 

Source
pub type UtpUdpContext = UtpContext<UdpSocket>;

Aliased Type§

pub struct UtpUdpContext { /* private fields */ }

Implementations§

Source§

impl UtpUdpContext

Source

pub async fn new_udp(bind_addr: SocketAddr) -> Result<Arc<Self>>

Source

pub async fn new_udp_with_opts( bind_addr: SocketAddr, opts: UtpOpts, ) -> Result<Arc<Self>>