2 added 12 characters in body
source | link
void loop() 
{
 if (client.connect(server, port)) 
 { 
   .......  

  }
 client.stop(); 
  }

 else 
 { 
  Serial.println("Server not found"); 
  } 
 delay(1000); 
 }
void loop() 
{
 if (client.connect(server, port)) 
 { 
   ....... 
  }
 client.stop() 
 else 
 { 
  Serial.println("Server not found"); 
  } 
 delay(1000); 
 }
void loop() 
{
 if (client.connect(server, port)) 
 { 
   .......  

   client.stop(); 
  }

 else 
 { 
  Serial.println("Server not found"); 
  } 
 delay(1000); 
 }
1
source | link

void loop() 
{
 if (client.connect(server, port)) 
 { 
   ....... 
  }
 client.stop() 
 else 
 { 
  Serial.println("Server not found"); 
  } 
 delay(1000); 
 }