I want a limit on amount of clients being able to connect..best way of doing this on the server on the connected event i have a check for client count and if its more than what I want I call disconnect on the client passed into the event to immediately disconnect...but after that (even though my client fails to send any messages and exits) the server connected client count doesn't go down
Maybe add an option on the server for client limit?
I want a limit on amount of clients being able to connect..best way of doing this on the server on the connected event i have a check for client count and if its more than what I want I call disconnect on the client passed into the event to immediately disconnect...but after that (even though my client fails to send any messages and exits) the server connected client count doesn't go down
Maybe add an option on the server for client limit?