When i try to create a websocket connection to echo.websocket.org, it succeeds and the onOpen() callback is triggered but when i try to point to my own socket.io based server, i never get the callback. Have tried putting breakpoints in Websocket.cpp and case LWS_CALLBACK_CLIENT_ESTABLISHED never gets triggered in Websocket::onSocketCallback().
Figured out that socket.io handshake is bit complex and needs a compatible client (libwebsocket doesnt seem to be). Has anyone tried libwebsockets with Golang websockets? I tried with the defautl websocket plugin in golang and it doesnt seem to work. Any other workarounds for golang server and libwebsocket client?