actually the server goes very well if I just put client[i].stop() after receiving data from each client, in the first loop. but that break my second rule and make clients non simultaneous.
here is Client_Registered code:
bool Client_Registered(WiFiClient cl)
{
for(int i=0;i<Clients_NUM;++i)
{
if(Clients[i] && cl.remoteIP()==Clients[i].remoteIP()) return 1;
}
return 0;
}
on the other hand, the "INTEGER" is actually a single digit number (1,2,.. number of the client), sorry for that mistake
THANKS