C# Class FlockOfBirds.UDP

Datei anzeigen Open project: rpavlik/chromium Class Usage Examples

Public Methods

Method 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

Method 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 method

public UDP ( ) : System
return System

UDP() public method

public UDP ( string IP, int Port ) : System
IP string
Port int
return System

rebind() public method

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

sendPose() public method

public sendPose ( IVector pos, IMatrix rot ) : void
pos IVector
rot IMatrix
return void