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 AsRawFd for SctpListener
[src]

Extracts the raw file descriptor. Read more

impl FromRawFd for SctpListener
[src]

Constructs a new instance of Self from the given raw file descriptor. Read more