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
- Owned
Read Half - SCTP equivalent of tokio’s TCP OwnedReadHalf
- Owned
Write Half - SCTP equivalent of tokio’s TCP OwnedWriteHalf
- Peer
Addr Info - Peer Address Information
- Recv
Flags - Flags returned from recvmsg()
- Recv
Info - Receive specific subset of fields in
sctp_sndrcvinforeturned on readmsg - Sctp
Listener - A structure representing a socket server
- Sctp
Socket SctpSocketwraps 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.- Sctp
Stream - A connection to a SCTP endpoint
- Send
Options - Parameters for sctp_sendmsg(3)
- Status
- The SCTP association status