On 06/05/2017 06:01 PM, Miguel Sancho wrote:
> 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*"

It is indeed "void *" in more recent versions of MHD.

>> Also, what code do you use in the connection notification callback to
> set the socket_contest?
> 
> MyContext *contextPtr = new MyContext();
> *socket_context = contextPtr;

Ok, that  looks correct.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to