1
0
mirror of https://github.com/payden/libwsclient synced 2026-03-02 04:09:18 +00:00
Payden Sutherland 89bc677a40 Bugfixes
Modifying payload_len_small in libwsclient_send by OR'ing with 0x80
Just set the frame byte appropriately without modifying payload_len_small

Also move setting payload_sz back to WS_HELPER_RECV_BUF size
*before* memsetting..  overflowing my bounds there.  Woops.
2012-11-15 19:16:17 -05:00
2012-10-05 20:46:37 -04:00
2012-10-05 20:46:37 -04:00
2012-10-05 20:46:37 -04:00
2012-10-05 20:46:37 -04:00
2012-10-05 20:46:37 -04:00
2012-10-05 20:46:37 -04:00
2012-10-06 14:14:08 -04:00
2012-10-05 20:46:37 -04:00
2012-10-06 14:14:08 -04:00
2012-10-05 20:50:37 -04:00
2012-10-05 20:50:37 -04:00
2012-10-06 14:14:08 -04:00
2012-10-05 20:46:37 -04:00
2012-10-05 20:46:37 -04:00
2012-11-15 11:19:56 -05:00
2012-10-05 20:46:37 -04:00
2012-10-05 20:46:37 -04:00
2012-11-15 19:16:17 -05:00
2012-11-15 19:16:17 -05:00

libwsclient

WebSocket client library for C

This library abstracts away WebSocket protocol framing for client connections. It aims to provide a somewhat similar API to the implementation in your browser. You create a new client context and create callbacks to be triggered when certain events occur (onopen, onmessage, onclose, onerror).

Your best bet for getting started is to look at test.c which shows how to connect to an echo server using libwsclient calls.

Also, to install:

./autogen.sh

./configure && make && sudo make install

Then link your C program against wsclient: 'gcc -g -O2 -o test test.c -lwsclient'

Description
No description provided
Readme 145 KiB
Languages
Rust 100%