Struct sctp::SctpEndpoint [] [src]

pub struct SctpEndpoint(_);

One-to-many SCTP endpoint.

Methods

impl SctpEndpoint
[src]

Create a one-to-many SCTP endpoint bound to a single address

Create a one-to-many SCTP endpoint bound to a multiple addresses. Requires at least one address

Wait for data to be received. On success, returns a triplet containing the quantity of bytes received, the sctp stream id on which data were received, and the socket address used by the peer to send the data

Send data in Sctp style, to the provided address on the stream stream. On success, returns the quantity on bytes sent

Get local socket addresses to which this socket is bound

Shuts down the read, write, or both halves of this connection

Set or unset SCTP_NODELAY option

Verify if SCTP_NODELAY option is activated for this socket

Set the socket buffer size for the direction specified by dir. Linux systems will double the provided size

Get the socket buffer size for the direction specified by dir

Set timeout in seconds for operation dir (either receive or send)

Try to clone this socket

Trait Implementations

impl AsRawHandle for SctpEndpoint
[src]

Extracts the raw handle, without taking any ownership.

impl FromRawHandle for SctpEndpoint
[src]

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