Arduino Ethernet shield illustrates inner workings of servers
|Arduino Ethernet Shield|
This is a sample of the code that I have been talking about:
client.println("<html><head><title>arduino web page</title></head><body>");
client.println("<h1>Example Web Page</h1>");
client.println("<p>This is some page text.</p>");
client.println("<p>You should visit http://salviusrobot.blogspot.com for more information.</p>");
This code is sent by the Arduino and received by a user's browser and is indistinguishable from any other webpage that could be displayed by a real server. I thought it was interesting because the " client.println " part that tells the Arduino to send the code to the user's browser is actually visible. Normally servers handle these requests using separately installed software but with the Arduino it is actually the worlds smallest server!