- Home /
Question by
muntahu · Jan 14, 2011 at 07:23 AM ·
networkingnetworkserver
Network Maxconnection problem
I got a problem in declaring how many connections can be connected to one server. Basically, i want to make games for 4 players max. But, the result is there are only 3 players who can play (1 server, 2 client).
Here is the code for initializing the server :
Network.InitializeSecurity();
Network.InitializeServer(4, listenPort, false);
Network.maxConnections = 0;
Is there anything wrong with this code? anyone please help, i would be very appreciate that. Thanks :)
Comment
Answer by eniliox · Aug 01, 2016 at 02:22 PM
Try a value of 10. The maximum connection players can not be specified.
Your answer

Follow this Question
Related Questions
Unity networking tutorial? 6 Answers
OnConnectedToServer not called when testing on same machine 0 Answers
Dedicated server-client networking design (MOBA-like) 1 Answer
Connect to remote private IP 1 Answer
Is the master server down? 0 Answers