Network Package Interface
xMAC94x opened this issue · comments
currently packages are send directly over the Socket, however it would be good if the ClientConnection and ServerConnection have multiple socket support (TCP and UDP socket) and the ClientPackage or ServerPackage has some kind of information like reliable, fast, e.t.c which is evaluated by the Connection so that the correct socket is choosen there.
We could implement TCP, UDP, interprocess message
We could use the enum_map
crate I've used in Voxygen to quickly assign a priority/performance level to each kind of packet.
Packets priority/performance are not going to be handled at the network level, but higher in the system level by the code that actually creates the packet when needed.
moved to gitlab https://gitlab.com/veloren/game/issues/10