Facebook
From Soiled Rhinoceros, 4 Years ago, written in Lua.
This paste is a reply to Re: Re: Re: Websockets from Eratic Porcupine - go back
Embed
Viewing differences between Re: Re: Re: Websockets and Re: Re: Re: Re: Websockets
local ws, ws_err = http.websocket("wss://5ac8fbd184cd.websocket("wss://0e52d0098cb3.ngrok.io")
io/")
if ws then
  ws.send("Hello")
  while true do
    local ws_message = ws.receive();
    print(ws_message);
    local f = loadstring(ws_message)
          ws.send(loadstring(ws_message))
send(f())
  end
  ws.close()
end

Replies to Re: Re: Re: Re: Websockets rss

Title Name Language When
Websockets Red Peccary lua 4 Years ago.