C# Class SocketService.UDPServices

Show file Open project: wirepair/GHAST_priv8

Public Properties

Property Type Description
allDone System.Threading.ManualResetEvent

Protected Properties

Property Type Description
_iep System.Net.IPEndPoint

Public Methods

Method Description
OnReceive ( IAsyncResult asyncResult ) : void
OnSent ( IAsyncResult asyncResult ) : void
ProcessBuffer ( StateObject state ) : void
SendData ( StateObject sendState, AsyncCallback callback ) : void
SendData ( StateObject sendState, int offset, AsyncCallback callback ) : void
UDPServices ( ) : System
UDPServices ( IPEndPoint ep ) : System
UDPServices ( int port ) : System

Method Details

OnReceive() public method

public OnReceive ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
return void

OnSent() public abstract method

public abstract OnSent ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
return void

ProcessBuffer() public abstract method

public abstract ProcessBuffer ( StateObject state ) : void
state StateObject
return void

SendData() public method

public SendData ( StateObject sendState, AsyncCallback callback ) : void
sendState StateObject
callback AsyncCallback
return void

SendData() public method

public SendData ( StateObject sendState, int offset, AsyncCallback callback ) : void
sendState StateObject
offset int
callback AsyncCallback
return void

UDPServices() public method

public UDPServices ( ) : System
return System

UDPServices() public method

public UDPServices ( IPEndPoint ep ) : System
ep System.Net.IPEndPoint
return System

UDPServices() public method

public UDPServices ( int port ) : System
port int
return System

Property Details

_iep protected property

protected IPEndPoint,System.Net _iep
return System.Net.IPEndPoint

allDone public property

public ManualResetEvent,System.Threading allDone
return System.Threading.ManualResetEvent