[Libwebsockets] Using libwebsockets like sockets (with no callback event loop)

Mark Easton mark.easton at ctdi.com
Mon Oct 12 14:47:16 CEST 2020


Hi,

I know "WebSockets" is different from "sockets" but is it possible to use the library like a standard socket server/client?

For example, once client is connected, you can send and receive data without the service callback loop, with simple write() and read() functions.

I have spent many hours searching for an answer but have not managed to find one yet.

Thanks
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20201012/743cc60b/attachment.htm>


More information about the Libwebsockets mailing list