Show / Hide Table of Contents

Class SctpUdpTransport

Represents an SCTP transport that encapsulates SCTP packet in UDP.

Inheritance
System.Object
SctpTransport
SctpUdpTransport
Inherited Members
SctpTransport.DEFAULT_COOKIE_LIFETIME_SECONDS
SctpTransport.IsPortAgnostic
SctpTransport.GotInit(SctpPacket, IPEndPoint)
SctpTransport.GetInitAckCookie(UInt16, UInt16, UInt32, UInt32, UInt32, String, Int32)
SctpTransport.GetInitAck(SctpPacket, IPEndPoint)
SctpTransport.GetCookie(SctpPacket)
SctpTransport.GetCookieHMAC(Byte[])
SctpTransport.Initialize(UInt16)
SctpTransport.Associate(IPAddress, Int32)
SctpTransport.Shutdown(String)
SctpTransport.Abort(String)
SctpTransport.Send(String, Byte[], Int32, Int32, Int32, Int32)
SctpTransport.SetPrimary(String)
SctpTransport.Receive(String, Byte[], Int32, Int32)
SctpTransport.Status(String)
SctpTransport.ChangeHeartbeat(String, Int32)
SctpTransport.RequestHeartbeat(String)
SctpTransport.GetSrttReport(String)
SctpTransport.SetProtocolParameters(String, Object)
SctpTransport.ReceiveUnsent(String, Byte[], Int32, Int32)
SctpTransport.ReceiveUnacknowledged(String, Byte[], Int32, Int32)
SctpTransport.Destroy(String)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SIPSorcery.Net
Assembly: SIPSorcery.dll
Syntax
public class SctpUdpTransport : SctpTransport

Constructors

| Improve this Doc View Source

SctpUdpTransport(Int32, PortRange)

Creates a new UDP transport capable of encapsulating SCTP packets.

Declaration
public SctpUdpTransport(int udpEncapPort = 0, PortRange portRange = null)
Parameters
Type Name Description
System.Int32 udpEncapPort

The port to bind to for the UDP encapsulation socket.

PortRange portRange

Optional. The portRange which should be used to get a listening port.

Fields

| Improve this Doc View Source

DEFAULT_UDP_MTU

Declaration
public const ushort DEFAULT_UDP_MTU = 1300
Field Value
Type Description
System.UInt16

Methods

| Improve this Doc View Source

Associate(IPEndPoint, UInt16, UInt16, UInt16, UInt16)

Requests a new association be created.

Declaration
public SctpAssociation Associate(IPEndPoint destination, ushort sourcePort, ushort destinationPort, ushort numberOutboundStreams = 65535, ushort numberInboundStreams = 65535)
Parameters
Type Name Description
System.Net.IPEndPoint destination

The UDP endpoint to attempt to create the association with.

System.UInt16 sourcePort

The SCTP source port.

System.UInt16 destinationPort

The SCTP destination port.

System.UInt16 numberOutboundStreams
System.UInt16 numberInboundStreams
Returns
Type Description
SctpAssociation

An SCTP association.

| Improve this Doc View Source

Send(String, Byte[], Int32, Int32)

Declaration
public override void Send(string associationID, byte[] buffer, int offset, int length)
Parameters
Type Name Description
System.String associationID
System.Byte[] buffer
System.Int32 offset
System.Int32 length
Overrides
SctpTransport.Send(String, Byte[], Int32, Int32)

Extension Methods

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