webSocket.begin("192.168.0.123", 81);But, when executing the code, it doesn't connects with the server ip and at port 81. And in another example the hanshaking code is
// Handshake with the server
char path[] = "/";
char host[] = "echo.websocket.org";
webSocketClient.path = path;
webSocketClient.host = host;
if (webSocketClient.handshake(client)) {
Serial.println("Handshake successful");
} else {
Serial.println("Handshake failed.");
while(1) {
// Hang on failure
}
}same with this, it also doesn't connects with the server. Can Anyone tell me why is that so ? Have anyone worked on client application of websocket ?
Any help will be highly appreciated.