Expand description
This crate provides high level SCTP networking. Currently it only supports basic SCTP features like multi-homing in one-to-one and one-to-many associations. SCTP notifications and working directly on associations is not supported yet but is in the TODO list.
Modules§
Macros§
- sctp_
syscall - syscall
- Helper macro to execute a system call that returns an
io::Result
.
Structs§
- Incoming
- Iterator over incoming connections on
SctpListener
- Sctp
Endpoint - One-to-many SCTP endpoint.
- Sctp
Listener - 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 bySctpStream
. - Sctp
Stream - One-to-one SCTP connected stream which behaves like a TCP stream.
A
SctpStream
can be obtained either actively by connecting to a SCTP endpoint with theconnect
constructor, or passively from aSctpListener
which accepts new connections
Enums§
- SoDirection
- Socket direction