libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] socket_context not set (libmicrohttpd-0.9.50)


From: Miguel Sancho
Subject: Re: [libmicrohttpd] socket_context not set (libmicrohttpd-0.9.50)
Date: Mon, 5 Jun 2017 18:01:29 +0200

Christian,
> Eh, what is that "*" doing in the "if" line?
reason is that in definition of the MHD_ConnectionInfo union, I see socket_context defined as "void**", maybe it should be just "void*"
> Also, what code do you use in the connection notification callback to
set the socket_contest?
MyContext *contextPtr = new MyContext();
*socket_context = contextPtr;

reply via email to

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