C# Class Aegis.Network.UDPServer

Datei anzeigen Open project: SyncZone/AegisFramework Class Usage Examples

Public Methods

Method Description
Bind ( string ipAddress, int portNo ) : void
Close ( ) : void
Send ( EndPoint targetEndPoint, StreamBuffer buffer ) : void
Send ( EndPoint targetEndPoint, byte buffer ) : void
Send ( EndPoint targetEndPoint, byte buffer, int startIndex, int length ) : void
UDPServer ( ) : System

Private Methods

Method Description
SocketEvent_Receive ( IAsyncResult ar ) : void
Socket_Send ( IAsyncResult ar ) : void
WaitForReceive ( ) : void

Method Details

Bind() public method

public Bind ( string ipAddress, int portNo ) : void
ipAddress string
portNo int
return void

Close() public method

public Close ( ) : void
return void

Send() public method

public Send ( EndPoint targetEndPoint, StreamBuffer buffer ) : void
targetEndPoint System.Net.EndPoint
buffer Aegis.IO.StreamBuffer
return void

Send() public method

public Send ( EndPoint targetEndPoint, byte buffer ) : void
targetEndPoint System.Net.EndPoint
buffer byte
return void

Send() public method

public Send ( EndPoint targetEndPoint, byte buffer, int startIndex, int length ) : void
targetEndPoint System.Net.EndPoint
buffer byte
startIndex int
length int
return void

UDPServer() public method

public UDPServer ( ) : System
return System