Possible Arduino 1.0.1 Ethernet Library bug?

@SurferTim

My point is, I believe this is the correct function to print content to all the clients on a web server, for example in a webserver project, instead of the client.print statements that are used in the WebServer example code. Not sure if it will resolve this particular problem. But this cause me some troubles, and changing it might be a good starting point for people using the Example. (Unless I am mistaken) Thanks for the feedback.

Description of server.print function

In this code below, I do not believe it is correct to use client.print:

if (c == '\n' && currentLineIsBlank) {
          // send a standard http response header
          client.println("HTTP/1.1 200 OK");
          client.println("Content-Type: text/html");
          client.println("Connnection: close");
          client.println();
          client.println("<!DOCTYPE HTML>");
          client.println("<html>");
                    // add a meta refresh tag, so the browser pulls again every 5 seconds:
          client.println("<meta http-equiv=\"refresh\" content=\"5\">");
          // output the value of each analog input pin
          for (int analogChannel = 0; analogChannel < 6; analogChannel++) {
            int sensorReading = analogRead(analogChannel);
            client.print("analog input ");
            client.print(analogChannel);
            client.print(" is ");
            client.print(sensorReading);
            client.println("
");      
          }
          client.println("</html>");
          break;