[Libwebsockets] How to determine data type received?
ggjunker at gmail.com
Fri Jan 18 00:18:35 CET 2013
Is there a way to determine the type of data sent by the remote endpoint in
the callback function? For example, if the server sends the client (both
using libwebsockets) how can I determine whether "in" points to data sent
with LWS_WRITE_BINARY or LWS_WRITE_TEXT (apart from putting that info into
my data as well)?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libwebsockets