C# Class SIPSorcery.Sys.UDPListener

Show file Open project: sipsorcery/sipsorcery Class Usage Examples

Public Properties

Property Type Description
PacketReceived Action

Public Methods

Method Description
Close ( ) : void
Send ( IPEndPoint destinationEndPoint, byte buffer ) : void
Send ( IPEndPoint destinationEndPoint, byte buffer, int length ) : void
Send ( IPEndPoint destinationEndPoint, string message ) : void
UDPListener ( IPEndPoint endPoint ) : System

Private Methods

Method Description
Dispose ( bool disposing ) : void
Initialise ( ) : void
Listen ( ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Send() public method

public Send ( IPEndPoint destinationEndPoint, byte buffer ) : void
destinationEndPoint System.Net.IPEndPoint
buffer byte
return void

Send() public method

public Send ( IPEndPoint destinationEndPoint, byte buffer, int length ) : void
destinationEndPoint System.Net.IPEndPoint
buffer byte
length int
return void

Send() public method

public Send ( IPEndPoint destinationEndPoint, string message ) : void
destinationEndPoint System.Net.IPEndPoint
message string
return void

UDPListener() public method

public UDPListener ( IPEndPoint endPoint ) : System
endPoint System.Net.IPEndPoint
return System

Property Details

PacketReceived public property

public Action PacketReceived
return Action