Show / Hide Table of Contents

Class RtpIceChannel.IceTcpReceiver

Inheritance
System.Object
UdpReceiver
RtpIceChannel.IceTcpReceiver
Inherited Members
UdpReceiver.RECEIVE_BUFFER_SIZE
UdpReceiver.logger
UdpReceiver.m_socket
UdpReceiver.m_recvBuffer
UdpReceiver.m_isClosed
UdpReceiver.m_isRunningReceive
UdpReceiver.m_localEndPoint
UdpReceiver.m_addressFamily
UdpReceiver.IsClosed
UdpReceiver.IsRunningReceive
UdpReceiver.OnPacketReceived
UdpReceiver.OnClosed
UdpReceiver.CallOnPacketReceivedCallback(Int32, IPEndPoint, Byte[])
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 IceTcpReceiver : UdpReceiver

Constructors

| Improve this Doc View Source

IceTcpReceiver(Socket, Int32)

Declaration
public IceTcpReceiver(Socket socket, int mtu = 6000)
Parameters
Type Name Description
System.Net.Sockets.Socket socket
System.Int32 mtu

Fields

| Improve this Doc View Source

m_recvOffset

Declaration
protected int m_recvOffset
Field Value
Type Description
System.Int32
| Improve this Doc View Source

REVEIVE_TCP_BUFFER_SIZE

Declaration
protected const int REVEIVE_TCP_BUFFER_SIZE = 6000
Field Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

BeginReceiveFrom()

Starts the receive. This method returns immediately. An event will be fired in the corresponding "End" event to return any data received.

Declaration
public override void BeginReceiveFrom()
Overrides
UdpReceiver.BeginReceiveFrom()
| Improve this Doc View Source

Close(String)

Closes the socket and stops any new receives from being initiated.

Declaration
public override void Close(string reason)
Parameters
Type Name Description
System.String reason
Overrides
UdpReceiver.Close(String)
| Improve this Doc View Source

EndReceiveFrom(IAsyncResult)

Handler for end of the begin receive call.

Declaration
protected override void EndReceiveFrom(IAsyncResult ar)
Parameters
Type Name Description
System.IAsyncResult ar

Contains the results of the receive.

Overrides
UdpReceiver.EndReceiveFrom(IAsyncResult)
| Improve this Doc View Source

ProcessRawBuffer(Int32, IPEndPoint)

Declaration
protected virtual int ProcessRawBuffer(int bytesRead, IPEndPoint remoteEP)
Parameters
Type Name Description
System.Int32 bytesRead
System.Net.IPEndPoint remoteEP
Returns
Type Description
System.Int32

Extension Methods

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