I can't get your code ?? Is your site down?
Unfortunately, it appears so. That was bad timing. :-/
Put this at the end of Client.cpp
:
#if 1
#include <string.h>
void Client::print(const char c[]) {
send(_sock, (uint8_t *) c, strlen(c));
}
void Client::println(const char c[]) {
print(c);
print("\r\n");
}
#endif
And then this in the appropriate place (use the first and last lines to show you where) in Client.h
:
friend class Server;
#if 1
void print(const char c[]);
void println(const char c[]);
using Print::print;
using Print::println;
#endif
};
--Phil.