Connecting to a nodejs websocket server

hi embers,
I use the websocketPP Cinder block to connect to a nodejs socket.io websocket server.
Unfortunately my Cinder websocket client can’t establish the connection.

Any hints?

Now I could be wrong as I have not tried this in quite some time, but I believe socket.io uses it’s own custom protocol which is probably why it doesn’t work.

The “ws” library is much more general and should work
https://www.npmjs.com/package/ws

1 Like

I just made a quick test and the “ws” library works fine.
Thank you !