C# Class Aegis.Network.UDPServer

Afficher le fichier Open project: SyncZone/AegisFramework Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
SocketEvent_Receive ( IAsyncResult ar ) : void
Socket_Send ( IAsyncResult ar ) : void
WaitForReceive ( ) : void

Method Details

Bind() public méthode

public Bind ( string ipAddress, int portNo ) : void
ipAddress string
portNo int
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

Send() public méthode

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

Send() public méthode

public Send ( EndPoint targetEndPoint, byte buffer ) : void
targetEndPoint System.Net.EndPoint
buffer byte
Résultat void

Send() public méthode

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

UDPServer() public méthode

public UDPServer ( ) : System
Résultat System