C# Class FlockOfBirds.UDP

Afficher le fichier Open project: rpavlik/chromium Class Usage Examples

Méthodes publiques

Méthode Description
UDP ( ) : System
UDP ( string IP, int Port ) : System
rebind ( string IP, int Port ) : void

* Rebind to a different IP address and UPD port. *

sendPose ( IVector pos, IMatrix rot ) : void

Private Methods

Méthode Description
calcChecksum ( byte s ) : byte

* Let n be the sum of the bytes in s. Then n%256 + calcChecksum(s) == 0. *

Method Details

UDP() public méthode

public UDP ( ) : System
Résultat System

UDP() public méthode

public UDP ( string IP, int Port ) : System
IP string
Port int
Résultat System

rebind() public méthode

* Rebind to a different IP address and UPD port. *
public rebind ( string IP, int Port ) : void
IP string
Port int
Résultat void

sendPose() public méthode

public sendPose ( IVector pos, IMatrix rot ) : void
pos IVector
rot IMatrix
Résultat void