Ehternet shield

int four = 23;

WTF?

double up_time1;
  up_time1 = millis();

Fail! The millis() does not return a double. Never has. Never will.

boolean incoming = 0;
        if(incoming && c == ' '){

          incoming = 0;
        }
        if(c == '

Boolean variables get set to true or false.

          char c = client.read();

          //-------------------------------------------------------//
          //Receive second code------------------------------------//
          //-------------------------------------------------------// 
          if(c == '2'){
              //Serial.println("ON");
              //digitalWrite(2, LOW);
  
              char c = client.read();

Some reason you need two local variables named c?

Make a copy of your code. Delete everything but the client.print() statements. Is there any way that you can arrange them into a meaningful web page?){

incoming = 1;
        }


Boolean variables get set to true or false.

§DISCOURSE_HOISTED_CODE_3§


Some reason you need two local variables named c?

Make a copy of your code. Delete everything but the client.print() statements. Is there any way that you can arrange them into a meaningful web page?