[Libwebsockets] Libwebsockets Digest, Vol 40, Issue 27
andy at warmcat.com
Mon Jun 13 09:55:25 CEST 2016
On June 13, 2016 3:46:16 PM GMT+08:00, Remi de Gravelaine <gravelaine at gmail.com> wrote:
>IMNSHO, there is a big flaw in this code.
>wsi is already the unique pointer you need and &wsi is not what you
Wah... well spotted.
>want, as it is another pointer probably always located at the same
>in the stack.
>Le 13/06/2016 à 05:39, libwebsockets-request at ml.libwebsockets.org a
>> On June 12, 2016 5:29:16 PM GMT+08:00, Meir
>Yanovich<meiry242 at gmail.com>
>>> > >I try this as Andy suggested all of this in the server . under
>>> > >LWS_CALLBACK_RECEIVE:
>>> > >
>>> > >long wsi_adress = &wsi;
>>> > >lwsl_notice("string recived from client:%lu\n", wsi_adress);
>>> > >
>>> > >i tried to invoke several ws requests from different browsers
>>> > >but it always gave me the same value . am i do it currently of
>>> > >meant to
>>> > >something totally different ?
>Libwebsockets mailing list
>Libwebsockets at ml.libwebsockets.org
More information about the Libwebsockets