Hi
Not sure why this is happening but i can’t seem to run a second client build on my local machine to connect to my server scene anymore. I get port issues.
The error is:
Socket: bind failed, error: Only one usage of each socket address (protocol/network address/port) is normally permitted.
Cannot open socket on ip {*} and port {9999}; check please your network, most probably port has been already occupied
I used to be able to run multiple clients connecting to my server build on my local machine - not sure what i changed to suddenly stop this.
This is my client setup for connecting:
NetworkTransport.Init();
ConnectionConfig = new ConnectionConfig();
Channel_Reliable = ConnectionConfig.AddChannel(QosType.Reliable);
Channel_Unreliable = ConnectionConfig.AddChannel(QosType.Unreliable);
Topology = new HostTopology(ConnectionConfig, Connection_Max);
SocketID = NetworkTransport.AddHost(Topology, Port_Local);
NetworkTransport.Connect(SocketID, "127.0.0.1", Port_Server, 0, out error);
What have i done wrong here? I can’t work out why it suddenly won’ allow me to run multiple client builds anymore.