lua-websockets icon indicating copy to clipboard operation
lua-websockets copied to clipboard

Accepting connections from multiple clients

Open SyRenity opened this issue 10 years ago • 2 comments

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?

SyRenity avatar May 31 '15 06:05 SyRenity

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 :)

lipp avatar May 31 '15 14:05 lipp

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.

SyRenity avatar May 31 '15 16:05 SyRenity