uppjj Messages: 9 Registered: February 2018 Location: France
Promising Member
Hello
I found a little bug on Websocket class, Pong and Close message require bit FIN, =>SendRaw(PONG, data) should be SendRaw(FIN|PONG, data) otherwise remote socket close connection with 1002 code (protocole error).
You should also add "void Ping(const String& data) { SendRaw(FIN|PING, data); }" useful to check connection