i think you need send options max client to server
Example:
1.client
client.join("chat", {max_client:max_client});
2.server
onInit(options) {
var max_client = options.max_client;
this.maxClients= max_client;
}
i think you need send options max client to server
Example:
1.client
client.join("chat", {max_client:max_client});
2.server
onInit(options) {
var max_client = options.max_client;
this.maxClients= max_client;
}
Hello,
i want to create some room instance on server, how to?
i dont want to create room when client call join event, i only want to join room with room id by get list available room
thanks