[getdns-api] libevent and multiple contexts

Tom Pusateri pusateri at bangj.com
Sun May 1 17:29:40 UTC 2016

I’ve been looking at the example code in the spec and there is a function
getdns_extension_set_libevent_base(context, event_base).

I am using libevent to handle multiple DNS queries and responses but some are UDP only, some are TLS and have different context parameters.

So my question is, can I create several contexts and have them all point to the same libevent base?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.getdnsapi.net/pipermail/spec/attachments/20160501/a3e31f9c/attachment.bin>

More information about the spec mailing list