Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
SCTP::Stream
Inherits
Reference
<
Object
Represents an individual SCTP stream
Constructors
new
(socket :
Socket
, stream_id :
Int32
)
Source
Instance methods
id
Stream ID
Source
write
(data :
String
|
Bytes
, unordered :
Bool
= false, ppid :
UInt32
= 0_u32) :
Nil
Write to this stream
Source