Struct tokio_utp::UtpSocket [] [src]

pub struct UtpSocket { /* fields omitted */ }

A uTP socket. Can be used to make outgoing connections.

Methods

impl UtpSocket
[src]

[src]

Bind a new UtpSocket to the given socket address

[src]

Gets the local address that the socket is bound to.

[src]

Create a new Utpsocket backed by the provided UdpSocket.

[src]

Connect a new UtpSocket to the given remote socket address

[src]

Consume the socket and the convert it to a future which resolves once all connections have been closed gracefully.

[src]

[src]

Trait Implementations

impl Debug for UtpSocket
[src]

[src]

Formats the value using the given formatter.