Struct SctpErrorNoUserData
This error cause is returned to the originator of a DATA chunk if a received DATA chunk has no user data.
Implements
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SIPSorcery.Net
Assembly: SIPSorcery.dll
Syntax
public struct SctpErrorNoUserData : ISctpErrorCause
Remarks
Fields
| Improve this Doc View SourceTSN
The TSN value field contains the TSN of the DATA chunk received with no user data field.
Declaration
public uint TSN
Field Value
Type | Description |
---|---|
System.UInt32 |
Properties
| Improve this Doc View SourceCauseCode
Declaration
public readonly SctpErrorCauseCode CauseCode { get; }
Property Value
Type | Description |
---|---|
SctpErrorCauseCode |
Methods
| Improve this Doc View SourceGetErrorCauseLength(Boolean)
Declaration
public ushort GetErrorCauseLength(bool padded)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | padded |
Returns
Type | Description |
---|---|
System.UInt16 |
WriteTo(Byte[], Int32)
Declaration
public int WriteTo(byte[] buffer, int posn)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | buffer | |
System.Int32 | posn |
Returns
Type | Description |
---|---|
System.Int32 |