[Libwebsockets] How to get socket id from incoming request ?

Meir Yanovich meiry242 at gmail.com
Sat Jun 11 14:31:26 CEST 2016


is it :
lws_get_protocol(wsi)->id
?

On Sat, Jun 11, 2016 at 3:25 PM, Meir Yanovich <meiry242 at gmail.com> wrote:

> Hello
> i try to port some socket.io code to libwebsockets ,
> in sockets,io there is something that called socket.id , which is some
> unique incoming connection id
> i wander what is the Equal in libwebsockets API .
> i want this unique id to be key in hashtable .
> thanks
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20160611/ca0b09e5/attachment-0001.html>


More information about the Libwebsockets mailing list