[Freeciv-Dev] Re: packet_conn_ping_info and connections
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Tue, Oct 19, 2004 at 02:33:27PM -0400, Jason Dorje Short wrote:
> packet_conn_ping_info assumes there can be no more than MAX_NUM_PLAYERS
> connections. Is this a safe assumption? It seems unlikely.
this is absolutely wrong.
sernet.h:
#define MAX_NUM_CONNECTIONS (2 * (MAX_NUM_PLAYERS + MAX_NUM_BARBARIANS))
the 2 there was put in by me, but it's really arbitrary. For a really
exciting game (league finals?), you might want to have a great many
observers. We might want to raise it sometime in the future.
We also might want to move this define to connection.h
-mike
|
|