PaulS:
//read char by char HTTP request
if (httpRequest.length() < 80) {
}
If the length of the request is less than 80, do nothing. Otherwise do nothing. OK, I see why the length matters. Not. Where does httpRequest ever get assigned a value other than ""?
I set httpRequest back to nothing just making sure it is empty for the next request, but I guess that really doesn't matter....
I'm not sure what the length limit is for, the code I posted is a modified sketch from: Code - Pastebin.com for controlling an LED via ethernet. I'm trying to modify it to work for my project, and I'm finding a few rough edges along the way.