Ive been wandering why didnt you guys set a heartbeat (ping pong)
Saint-Theana opened this issue · comments
Saint-Theana commented
At the start ,I use a regular ev websocket client ,and I did connected with server,but some time latter,connection closed.
When I add folowing code into client_ev.lua,problem solved.
101 elseif opcode == frame.PING then
102 self:send("PONG",frame.PONG);
103 print("respone pong");