pranjalic at safeai.ai
Tue Mar 17 17:41:54 CET 2020
I am a bit confused with the pointer to pass to lws_write call.
On websocket data goes like: LWS_SEND_BUFFER_PRE_PADDING + DATA +
So should the buf point to start of pre-padding and len should be inclusive
of pre paddinga nd post padding? Or just the length of the actual data?
LWS_VISIBLE LWS_EXTERN int
lws_write(struct lws *wsi, unsigned char *buf, size_t len,
enum lws_write_protocol protocol);
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libwebsockets