Struct sctp::SctpListener [] [src]

pub struct SctpListener(_);

SCTP listener which behaves like a TcpListener. A SCTP listener is used to wait for and accept one-to-one SCTP connections. An accepted connection is represented by SctpStream.

Methods

impl SctpListener
[src]

Create a listener bound to a single address

Create a listener bound to multiple addresses. Requires at least one address

Accept a new connection

Iterate over new connections

Get the listener local addresses

Set timeout in seconds on accept

Try to clone this listener

Trait Implementations

impl AsRawHandle for SctpListener
[src]

Extracts the raw handle, without taking any ownership.

impl FromRawHandle for SctpListener
[src]

Constructs a new I/O object from the specified raw handle. Read more