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
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
Fields
| Improve this Doc View SourceAdditionalInformation
Optional description of the violation.
Declaration
public string AdditionalInformation
Field Value
Type | Description |
---|---|
System.String |
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 |