[gameprogrammer] Re: udp and max connections
- From: Bob Pendleton <bob@xxxxxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Sun, 18 Mar 2007 18:10:59 -0500
On Sun, 2007-03-18 at 12:29 -0500, Roger D Vargas wrote:
> Im working on an UDP based server with SDL_Net and I have found a
> problem. An UDP socket can handle a limited number of connections
> because each socket has 32 channels, and each channel supports 32
> clients. How can I break this limit? Can I have several sockets
> listening on same port or can I forget about binding each client to a
> channel and sending packets using the first available channel?
>
There are 2 things you can do. You can recompile SDL_net with larger
values for the number channels and connections, or you can ignore
channels and connections completely and just keep track of the addresses
your self.
Bob Pendleton
--
+--------------------------------------+
+ Bob Pendleton: writer and programmer +
+ email: Bob@xxxxxxxxxxxxx +
+ web: www.GameProgrammer.com +
+ www.Wise2Food.com +
+ nutrient info on 7,000+ common foods +
+--------------------------------------+
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- References:
- [gameprogrammer] udp and max connections
- From: Roger D Vargas
Other related posts:
- » [gameprogrammer] udp and max connections
- » [gameprogrammer] Re: udp and max connections
- [gameprogrammer] udp and max connections
- From: Roger D Vargas