Page 1 of 1

GIT Maximum 16 Connections

PostPosted: Tue Dec 06, 2005 9:49 am
by ssteele
We are trying to use a GIT server to connect to more that 16 remote computers in "Be a TCP listen server". We can't seem to adjust the "max connections" above 16. Is that a limitation of the software or are we doing something wrong.

PostPosted: Tue Dec 06, 2005 10:01 am
by Ark
Yes, there is a limit of 16 for no particular reason. Basically, if a game *only* uses, say, 64K of bandwidth per person, having 16 connections means you need an *upload* banwidth of 1.0M then. Chaining together 16 different networks is really going to require more bandwidth then any user typically has, so the limitation is basically to prevent users from DOSing themselves.

PostPosted: Tue Dec 06, 2005 10:06 am
by ssteele
Is that hard to change? We have the bandwidth.

PostPosted: Tue Dec 06, 2005 10:38 am
by Ark
Yeah, I can just change
#define MAX_HOSTS 16
in the source and recompile, but GIT will use ~20K per host entry in a information table, even if users don't use the hosts. Thats ~320K of memory right now, only 20K of which is needed for most users just doing 1 pc to 1 pc.