Skip to content

tsoding/c3ws

Repository files navigation

WebSocket library in C3

Warning

The library is not in production ready state yet

Initially translated from https://github.com/tsoding/cws

Echo Server

$ ./build.sh # We will use the official C3 build system eventually I swear

In one terminal:

$ ./build/autobahn_echo_server

In another terminal

$ ./build/example_send_client "Hello, World" localhost 6969

You can also connect to the server from a browser:

$ firefox ./tools/example_send_client.html