Nothing in that snippet has anything to do with receiving anything. As I pointed out in your other thread, a char array and strcmp() are needed.
Sorry for my Stupid question, but when I try to use the array, I receive the message: "invalid conversion from 'char*' to 'uint8_t*'"
I have declared
char rec[10];
and I receive the error message on this line:
while (client.connected()) {
if (client.available()) {
int charCount = client.read(rec,9);
...
...