renet
renet copied to clipboard
Questions about the `renetcode` max client limit
This may be a dumb issue (I'm quite new to networking), but I noticed that there is a seemingly arbitrary limit on the number of concurrent clients supported by renetcode
. I was wondering why there would be such a limit, if there is any good workarounds that don't involve setting up a separate web server for matchmaking (perhaps using something to spin up multiple instances of the server), and if there's anything else I'm missing here.
Not totally sure, but the original implementation is in C and stores a lot of stuff on the stack.
Ah, does the Renet implementation store more on the heap? If so, it may be possible to bump up the max amount of connected clients, although I presume there still will be a limit. Perhaps I’ll try using the Steam sockets for now if the number still is too low and maybe implementing my own in the future to avoid the hard UDP requirement.