libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] Web Socket disconnect behaviour


From: silvioprog
Subject: Re: [libmicrohttpd] Web Socket disconnect behaviour
Date: Tue, 30 Oct 2018 12:30:46 -0300

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 <address@hidden> wrote:
On Mon, 8 Oct 2018 23:41:02 -0300
silvioprog <address@hidden> 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
> <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]