Show / Hide Table of Contents

Class RawSocket

Inheritance
System.Object
RawSocket
Inherited Members
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.Sys
Assembly: SIPSorcery.dll
Syntax
public class RawSocket

Methods

| Improve this Doc View Source

SendSpoofedPacket(Byte[], IPEndPoint, IPEndPoint)

The goal of this method was to send a dummy packet through a NAT gateway in an attempt to create a rule for incoming packets. There are better ways to do this now, UPNP etc.

Declaration
public void SendSpoofedPacket(byte[] payload, IPEndPoint sourceSocket, IPEndPoint destinationSocket)
Parameters
Type Name Description
System.Byte[] payload
System.Net.IPEndPoint sourceSocket
System.Net.IPEndPoint destinationSocket

Extension Methods

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