Crate tokio_sctp

Crate tokio_sctp 

Source
Expand description

§tokio-sctp

tokio-sctp provides non-blocking SCTP socket bindings over the tokio runtime. This crate is currently Linux only and only supports one-to-one style sockets. Building thus requires the lksctp-tools package is installed on the system.

Structs§

InitMsg
SCTP Initiation Structure
OwnedReadHalf
SCTP equivalent of tokio’s TCP OwnedReadHalf
OwnedWriteHalf
SCTP equivalent of tokio’s TCP OwnedWriteHalf
PeerAddrInfo
Peer Address Information
RecvFlags
Flags returned from recvmsg()
RecvInfo
Receive specific subset of fields in sctp_sndrcvinfo returned on readmsg
SctpListener
A structure representing a socket server
SctpSocket
SctpSocket wraps an operating system socket and enables the caller to configure the socket before establishing a SCTP assocation or accepting inbound connections. The caller is able to set socket option and explicitly bind the socket with a socket address.
SctpStream
A connection to a SCTP endpoint
SendOptions
Parameters for sctp_sendmsg(3)
Status
The SCTP association status