About DyConnect
DyConnect is split into two distinct groups of classes. The high-level Dasyne (DAta SYnchronization over NEtwork) classes are intended for rapid development of networked games. You declare the data to be synchronized, tell Dasyne how many times per second to update it, and how much bandwidth to use. Then, Dasyne updates the client's data to match the server's. Dasyne only updates the data that has actually changed, and can switch between UDP and TCP/IP as needed. Dasyne includes many features which are really just different aspects of the same feature: it automatically detects and corrects any synchronization errors between the client and server.
Dasyne is built on top of the lower-level DyConnect classes, which provide a portable solution for both TCP/IP and UDP networking. DyConnect's main strength lies in it's multi-threaded approach to TCP/IP, which helps to simplify network logic. The idea is that you should gain the advantages of multi-threaded networking without having to implement it yourself. DyConnect allows you to write non-blocking code, and can handle both IPv4 and IPv6 protocols. Have a read through this manual, and be sure to check out the programs in the examples directory to get a feel for how DyConnect works.
The DyConnect Classes:
DyConnect starts and configures the network services.
Initialization
NetworkEngine handles multithreaded TCP/IP networking.
Initialization
TCP/IP Functions
DyBytes contains data to be sent or received from clients. It has built-in compression and hashing functions.
DyBytes Functions
PollingConnect contains non-blocking connect functions.
PollingConnect Functions
UDPSock provides support for low-level UDP networking.
UDP Functions
The Dasyne Classes:
Dasyne Overview - Read me first!
DasyneClient Handles client-side data synchronization.
DasyneClient Initialization
DasyneClient Networking
DasyneServer The Dasyne server that clients will connect to. Periodically sends data updates to all clients, detects and corrects synchronization errors.
DasyneServer Initialization
DasyneServer Networking
SyncData A variable to be automatically synchronized.
SyncData Functions
SyncArray An array of synchronized variables.
SyncArray Functions
Support and Feedback
The SourceForge site, includes forums, bug reporting and feature request areas.