Dasyne includes support for optional modules that perform some specific networking function. These can be plugged in to an existing Dasyne program as desired. All modules take a pointer to a DasyneEngine in their constructor, which they use to handle their networking.
There are currently two modules:
Synchronized Variables
Both the server and clients declare a set of variables. The server can modify them, and their values will be automatically updated for all clients. All network updates use compressed messages, and any synchronization errors are automatically detected and corrected.
Command System
Allows clients to send player commands to the server. Calculates network latency.
Examples
See the 'examples' directory for sample programs using these modules.