webby
webby copied to clipboard
A tiny webserver for game development
Just a tad more clear how to use WS. Pushing frame counter through WS, and there's a HTML/JS file with connect/disconnect to the demo server as well as reading the...
`WebbyServerUpdateTimeout` can be used instead of a sleep. This is particularly useful to avoid sleeping an unnecessary amount of time, when requests are pending.
If the client is sending packets faster than the server can read, overlapped packets will be discarded. This seems to be due to a typo in the code in file...
Webby doesn't have any user data in `WebbyServerConfig`. This means that the callbacks like `ws_connect` can't receive any user data (because there's none to receive) and `WebbyConnection` can have only...
webby.c around line 1333: ``` timeout.tv_sec = 0; timeout.tv_usec = 5; err = select((int) (max_socket + 1), &read_fds, &write_fds, &except_fds, &timeout); ``` I experienced large hitches in the `select()` call...
If config.bind_addr is not supplied, detect public ip address and use as default value. Update demo.c to not supply bind_addr (so that, by default, demo is public facing and not...
Creating Websocket with Firefox v28.0 on Linux was failing because Connection header was "keep-alive, Upgrade" and code was looking for "Upgrade".
some more errors :) - first when you set the user_data pointer it will be overwritten in the reset_connection function which is not only called on a new incoming connection,...