[Libwebsockets] How to get socket id from incoming request ?
meiry242 at gmail.com
Sat Jun 11 15:04:41 CEST 2016
Ops no its seams it's not .
i tried to send ws request from 2 different sessions ( 2 browsers instances
and in both it gave me id == 0
can it be the wsi created on each request ?
On Sat, Jun 11, 2016 at 3:31 PM, Meir Yanovich <meiry242 at gmail.com> wrote:
> is it :
> On Sat, Jun 11, 2016 at 3:25 PM, Meir Yanovich <meiry242 at gmail.com> wrote:
>> 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 .
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libwebsockets