3 ms·
From what I've seen, it's a common convention with game development to do non-blocking networking and update your network state every tick of your update loop.
by lyptt 5y ago
From what I've seen, it's a common convention with game development to do non-blocking networking and update your network state every tick of your update loop.
It fits in nicely with how everything else works in your game loop, and means you don't need to deal with marshalling data to/from a dedicated thread.
- bullen 5y agoYou should keep the network async. from the rendering yes, but why non-blocking?