Correction erreur Reponse connexion

This commit is contained in:
Auriane Lartigue 2021-01-22 17:04:52 +01:00
parent 4ec0611d3b
commit 30f977636b

View file

@ -282,8 +282,8 @@ class RunnerUDP implements Runnable {
}
else{
int max = received.split("\n").length ;
if (max > 2 ){
for (int i = 2 ; i < max ; i++){
if (max > 3 ){
for (int i = 3 ; i < max ; i++){
String suite = received.split("\n")[i];
// Le server nous envoie les utilisateurs connectés en local ou à distance
if (!suite.equals("")){