websocket.zig icon indicating copy to clipboard operation
websocket.zig copied to clipboard

A websocket implementation for zig

Results 4 websocket.zig issues
Sort by recently updated
recently updated
newest added

Can you add the `zig` and `zig-package` tag to your repository? This way, the repository will be discoverable on https://zig.pm/ and manually via the GitHub search

In the [listen function](https://github.com/karlseguin/websocket.zig/blob/d71dcb04b3578398db72768a6ff8acf58cd551ed/websocket/listen.zig#L16), It starts the async frame for `client.handle` in a loop and binds it to a temporary variable `_`. Once `client.handle()` suspends (e.g. from partial socket read),...

Hi team, I'm new to zig. I checkout the branch to `zig-0.11` (commit: `b5370b608000cf264b23faffd376d6495ef6d83a`) when I run `zig build test`, I got error `src\server.zig:326:28: error: expected type '*os.windows.ws2_32.SOCKET__opaque_4451', found 'c_int'`...

I was hoping to use this as a simple way to handle some simple communication, but the problem is I need to be able to generate outputs without just responding...