[Libwebsockets] Detecting websocket connections

Alan Conway aconway at redhat.com
Fri Nov 18 20:10:48 CET 2016


I'm listening for connections outside of libws, then I want libws to
adopt the sockets. Is it possible to examine protocol headers and
decide whether the connection is websocket-wrapped or not so I can
accept WS and non-WS connections on the same port?

Thanks,
Alan.



More information about the Libwebsockets mailing list