moonbitstack/moonrtc/sctp does not have a README file
pub struct Association {
local_port : Int
remote_port : Int
local_vtag : UInt
remote_vtag : UInt
next_tsn : UInt
peer_cum_tsn : UInt
stream_seqs : Map[Int, Int]
state : AssocState
received : Array[ReceivedData]
}fn Association::new(local_port? : Int, remote_port? : Int, local_vtag? : UInt, initial_tsn? : UInt) -> Associationfn Association::send(self : Association, stream_id : Int, ppid : UInt, payload : Bytes, unordered? : Bool) -> Bytespub(all) enum Chunk {
Data(flags~ : Byte, tsn~ : UInt, stream_id~ : Int, seq~ : Int, ppid~ : UInt, payload~ : Bytes)
Init(init_tag~ : UInt, a_rwnd~ : UInt, out_streams~ : Int, in_streams~ : Int, init_tsn~ : UInt)
InitAck(init_tag~ : UInt, a_rwnd~ : UInt, out_streams~ : Int, in_streams~ : Int, init_tsn~ : UInt, cookie~ : Bytes)
Sack(cum_tsn_ack~ : UInt, a_rwnd~ : UInt)
Heartbeat(info~ : Bytes)
HeartbeatAck(info~ : Bytes)
Abort
Shutdown(cum_tsn_ack~ : UInt)
ShutdownAck
CookieEcho(cookie~ : Bytes)
CookieAck
ForwardTsn(new_cum_tsn~ : UInt)
} derive(Eq, Debug)Install
Download zipThe WebRTC protocol stack for MoonBit.