WiFi Shield - Buffering outsending data

@SurferTim

  1. Delay is about "couple blinks of the eye"
  2. Delay persists even after some time of operation so I don't think that the delay is related to any sort of wake up procedure
  3. All messages I am sending are about 10 characters (see code below). I have built a test code with more data, same behavior

@PaulS

  1. Official WiFi Library (WiFi - Arduino Reference)
  2. I have almost removed all the code. Now there is only something like this:
void loop() {


     while(true) {

        ...

        sprintf(buffer,"%s=%d#", variable, (int)value);
        client.write((const uint8_t *)buffer, strlen(buffer)*sizeof(char)); 
     }

}

@MSpijk

The delay persists even after that WiFi shield has been powered for some time

Thank you all guys for your cooperation