lipp / lua-websockets

Websockets for Lua.
http://lipp.github.com/lua-websockets/
MIT License
396 stars 113 forks source link

Accepting connections from multiple clients #77

Open SyRenity opened 9 years ago

SyRenity commented 9 years ago

It seems that the current copas example allows accepting a connection from single Websocket client, what is the correct method to extend it to allow support from multiple ones?

lipp commented 9 years ago

this example supports many many clients. The code reads a bit odd if you are not familiar with coroutines. But it is really accepting more than one client :)

SyRenity commented 9 years ago

Thanks, however I'm actually using it and it seems to be blocking on a single client.

I will check further if the issue on my side.