-
-
Notifications
You must be signed in to change notification settings - Fork 30
Closed
Description
Design:
- Internet games are started via a (central but configurable) lobby server (Lobby and Rendezvous Server #255). The server serves as a rendezvous.
- LAN games start the same server locally and announce it over mDNS.
- In came networking is based on a (custom?) peer-to-peer protocol.
- This limits the load on the central server,
- and decreases latency (especially on LAN and other close network endpoints).
- The over the Internet pear-to-peer connection is be established with Hole Punching technique.
- The (message oriented) communication is be based on UDP:
- all messages are idempotent (thus packet duplication is not an issue) and order independent (thus reordering is not an issue),
- most messages won't require 0% packet loss,
- a to-be-decided technique is used to guarantee delivery of some messages.
Explore: