Show / Hide Table of Contents

Struct SctpErrorProtocolViolation

This error cause MAY be included in ABORT chunks that are sent because an SCTP endpoint detects a protocol violation of the peer that is not covered by any of the more specific error causes

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 SctpErrorProtocolViolation : ISctpErrorCause
Remarks

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

Fields

| Improve this Doc View Source

AdditionalInformation

Optional description of the violation.

Declaration
public string AdditionalInformation
Field Value
Type Description
System.String

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