Summary: Dynamic network protocol
Submitted by: cazfi
Submitted on: Sat 26 Oct 2013 11:39:12 PM EEST
Priority: 5 - Normal
Assigned to: None
Discussion Lock: Any
When thinking about how increasing max player number beyond 8bit value would
cause network traffic to increase in all the games despite games with more
than 8bit player ids used would be extremely rare, it occurred to me that the
field width could be dynamically adjusted. One of the very first packets
server sends could tell the client width of some of the data types.
The complicated part of implementing this would be making sure that agreed
protocol does not change (server that has advertised itself as max 8bit player
id server, couldn't increase its maxplayers too high) or protocol information
is updated to the clients correctly.
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list