Deliver the Mandelbrot viewer
static void serveHTML (int socket) {
char* message;
// first send the http response header
message =
"HTTP/1.0 200 Found\n"
"Content-Type: text/html\n"
"\n";
printf ("about to send=> %s\n", message);
write (socket, message, strlen (message));
message =
"<script src=\"http://almondbread.cse.unsw.edu.au/tiles.js\"></script>"
"\n";
write (socket, message, strlen (message));
}