GIT Maximum 16 Connections

Gamer's Internet Tunnel, formerly Gamer's IPX Tunnel

GIT Maximum 16 Connections

Postby ssteele » Tue Dec 06, 2005 9:49 am

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.
ssteele
 
Posts: 2
Joined: Tue Dec 06, 2005 9:37 am

Postby Ark » Tue Dec 06, 2005 10:01 am

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.
Ark
Site Admin
 
Posts: 2108
Joined: Sat Sep 13, 2003 4:21 pm

Postby ssteele » Tue Dec 06, 2005 10:06 am

Is that hard to change? We have the bandwidth.
ssteele
 
Posts: 2
Joined: Tue Dec 06, 2005 9:37 am

Postby Ark » Tue Dec 06, 2005 10:38 am

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.
Ark
Site Admin
 
Posts: 2108
Joined: Sat Sep 13, 2003 4:21 pm


Return to GIT

Who is online

Users browsing this forum: No registered users and 31 guests