dmc websockets

Hi, does anyone use DMC Web Sockets?

I’m pretty sure they used to work - but don’t seem to anymore (am on 2016.11.10)

this prints “–>onClose”, i.e. it gets a close event (should get an onOpen event)

cat main.lua

   local WebSockets = require “dmc_corona.dmc_websockets”

    

    local function webSocketsEvent_handler( event )

        print("–>"…event.type)

    end

    

    ws = WebSockets{

        uri=‘wss://echo.websocket.org’

    }

    

    ws:addEventListener( ws.EVENT, webSocketsEvent_handler )

I changed the line 162 in the file async_tcp.lua from sslv3 to tlsv1_2 and it now seems to be working. 

I guess they discontinued sslv3.

I changed the line 162 in the file async_tcp.lua from sslv3 to tlsv1_2 and it now seems to be working. 

I guess they discontinued sslv3.

Yes! Thanks, and comments referenced here: ANN: dmc_websockets - WebSocket module for Corona SDK - #54 by sq2