Struct tokio_kcp::KcpListener [] [src]

pub struct KcpListener { /* fields omitted */ }

A KCP Socket server

Methods

impl KcpListener
[src]

[src]

Creates a new KcpListener which will be bound to the specific address.

The returned listener is ready for accepting connections.

[src]

Creates a new KcpListener which will be bound to the specific address with default config.

The returned listener is ready for accepting connections.

[src]

Creates a new KcpListener from prepared std::net::UdpSocket with default config.

The returned listener is ready for accepting connections.

[src]

Creates a new KcpListener from prepared std::net::UdpSocket.

The returned listener is ready for accepting connections.

[src]

Returns the local socket address of this listener.

[src]

Accept a new incoming connection from this listener.

[src]

Returns an iterator over the connections being received on this listener.

Trait Implementations

impl Drop for KcpListener
[src]

[src]

Executes the destructor for this type. Read more