Alexey Melnichuk
Alexey Melnichuk
This is my implementation of [llthread_join](https://github.com/moteus/lua-llthreads2/blob/92ec624951de2d344b28eb5262a3534822f6d6a7/src/llthread.c#L475-L513) with zero timeout.
I think for now it does not suppurt bit operations on Lua 5.3. And because there no `bit32` module I suggest use [bit32](https://luarocks.org/modules/siffiejoe/bit32) from luarocks. It works fine on Lua...
You also need shift operations. Checkou my variant. https://github.com/moteus/lua-lluv-websocket/blob/master/src/lluv/websocket/bit.lua
According rfc you have to replay PONG. > Upon receipt of a Ping frame, an endpoint MUST send a Pong frame in > response, unless it already received a Close...
I am not sure. PING/PONG can be used to some think like OOB I think. They can have Payload. > Control frames can be interjected in the middle of a...
> "Control frames can be interjected in the middle of a fragmented message." does not imply ping/pong can carry a load, just that they can be interspersed in normal traffic....
May be we should call `on_close` only if there was `on_open` event. And call `on_error` on any errors. But there may be cases when other side just close connection and...
You can look at afxLua. I use it, but there no src.
> Choosing a good API _is_ difficult ;) > I know that. :) I tried to start use winapi several times and every time i fail with it. Main problem...
> Any other APIs that would be useful? May be FindFirst/FindNext. AfxLua has very convinient interface (IMHO)