[Libwebsockets] Creating a WebSocket from a regular socket instance

Danilo Guanabara Fernandes danguafer at gmail.com
Wed Mar 11 16:09:45 CET 2015


Hello everyone. It's my first post here.

I am coding a protocol independent server and I would like to know if there
is any way to create a WebSocket client from an 'accept'ed socket which I
am going to peek for any handshake message to define the underlying
protocol.

Thanks in advance,
Danguafer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20150311/6b7d6cd3/attachment.html>


More information about the Libwebsockets mailing list