flaribbit / love2d-lua-websocket

websocket client pure lua implement for love2d
MIT License
36 stars 10 forks source link

can not connect #8

Closed oneStarCai closed 11 months ago

oneStarCai commented 11 months ago

image

elseif self.status==STATUS.CONNECTING then
     local res = sock:receive("*l")
when I call :
 local client = require("websocket").new("127.0.0.1", 9951) 
while true do
    love.update()
end  

receive nothing, res is nil. how to resolve it?

flaribbit commented 11 months ago

That's weird. Thanks for your feedback. But I'm on vacation now. I'll check it 2 days later.

BTW, which language/library is your websocket server written in?

oneStarCai commented 11 months ago

您的邮件已收到,我会尽快查看并回复。。。