Show / Hide Table of Contents

Struct SctpErrorNoUserData

This error cause is returned to the originator of a DATA chunk if a received DATA chunk has no user data.

Implements
ISctpErrorCause
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

https://tools.ietf.org/html/rfc4960#section-3.3.10.9

Fields

| Improve this Doc View Source

TSN

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 Source

CauseCode

Declaration
public readonly SctpErrorCauseCode CauseCode { get; }
Property Value
Type Description
SctpErrorCauseCode

Methods

| Improve this Doc View Source

GetErrorCauseLength(Boolean)

Declaration
public ushort GetErrorCauseLength(bool padded)
Parameters
Type Name Description
System.Boolean padded
Returns
Type Description
System.UInt16
| Improve this Doc View Source

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

Implements

ISctpErrorCause

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX