José, thanks a lot for sharing.

This example is awesome! I'm not expert in WS but it seems this example can
run without any external dependencies. I'll test it this weekend.

Since this code is small and clear, what do you think about to make it as a
official MHD WS example in the examples folder? :-) It would be useful and
a bootstrap for who wants to start in web sockets + MHD.

Thank you for sharing!

On Thu, Oct 11, 2018 at 4:22 AM José Bollo <jo...@nonadev.net> wrote:

> On Mon, 8 Oct 2018 23:41:02 -0300
> silvioprog <silviop...@gmail.com> wrote:
>
> > Hi dudes.
> >
> > @Christian, just for curiosity, is there any document or example
> > showing MHD + WS? I can't provide it since I'm not familiar with WS,
> > but it would be nice if someone could provide one for us. 😅
> >
>
> Hello Sylvio,
>
> I'm using LMHD for websocket-ing. I point you a central file that may
> help (or not -hope to not confuse you-).
>
>
> https://git.automotivelinux.org/src/app-framework-binder/tree/src/afb-websock.c
>
> Best regards
> José Bollo
>
> > Thank you!
> >
> > On Wed, Sep 5, 2018 at 11:56 AM Christian Grothoff
> > <groth...@gnunet.org> wrote:
> > [...]
> >
> > > You need to initiate another HTTP request from the client, again do
> > > the upgrade and then handle resumption within your application
> > > protocol.
> > >
> > > Happy hacking!
> > >
> > > Christian
> > >
> >
>
>

-- 
Silvio Clécio

Reply via email to