Struct tokio_kcp::KcpListener [] [src]

pub struct KcpListener { /* fields omitted */ }

A KCP Socket server

Methods

impl KcpListener
[src]

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

The returned listener is ready for accepting connections.

Returns the local socket address of this listener.

Accept a new incoming connection from this listener.

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