hnisula / ducklib

A library made out of ducks
1 stars 0 forks source link

Simulator functionality #50

Open hnisula opened 1 year ago

hnisula commented 1 year ago

For testing there needs to be support for simulating higher latency, packet loss, duplicates and probably for mixing up the order. With this the reliability layer can be tested as well as testing games with simulated latency to see how latency-hiding mechanics work.

This must be at the socket layer. Perhaps the socket layer is one object containing socket functionality + fragmentation + simulator.

It must be configurable in runtime.