[Libwebsockets] Newbie: is it possible to geenrate data from server?
skyhisi+libwebsockets at gmail.com
Fri Sep 21 14:33:45 CEST 2018
You need to request a writeable callback and then you can send the data
from within the callback.
See the following page, section "Only send data when socket writeable" for
On Fri, 21 Sep 2018 at 13:29, Stefano Mora <stefano.mora at newdep.com> wrote:
> Hi all,
> I’m developing a simple websocket server based on minimal sample.
> No problem when I need to reply to client but I’d like to generate data
> from server and push them to client.
> Is it possible?
> Which wsi structure do I need to point ?
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libwebsockets