in basesocket.hpp line 29:
const uint16_t BUFFER_SIZE = 0xFFFF;
please make it:
static const uint16_t BUFFER_SIZE = 0xFFFF;
otherwise the function 'TCPSocket& TCPSocket::operator=(TCPSocket&&)' is deleted by the compiler and I can't do
mysocket = TCPSocket();
just changing that one constant to be static fixes the problem for me and works great