libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] Websockets


From: John Duncan
Subject: Re: [libmicrohttpd] Websockets
Date: Mon, 13 Mar 2017 10:39:23 -1000

Quick question.  I noticed when I built the library, it didn't move mhd_sockets.h into the includes.  That file contains all the MHD_send_/MHD_recv_ macros used in the websockets unit test.  Am I supposed to re-implement the functions/macros found in there, or am I supposed to include that code with my project?  I know I could just snip out the code and use it, but for forward compatibility I'd like to know, from the devs, how I should proceed for the least number of future-headaches.

~J

On Tue, Mar 7, 2017 at 1:01 PM, Christian Grothoff <address@hidden> wrote:
We've not yet updated the tutorial, but maybe the test case helps?

https://gnunet.org/git/libmicrohttpd.git/tree/src/microhttpd/test_upgrade.c


On 03/03/2017 08:37 PM, John Duncan wrote:
> I was reading somewhere that websockets have been added to the library?  If
> so, is there any example code on how to use them with the library?  I have
> a webserver working so I don't need a full example, just how to upgrade a
> connection on a callback.
>
>
> Thanks
>



reply via email to

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