Registry / networking / libevent

libevent

JSON →
library2.1.12vcpkgunverified

An event notification library

vcpkg install libevent
INSTALL
IMPORT
SIG · LIBEVENT
L
libevent
networkingcppv2.1.12
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

event2/event.h
#include <event2/event.h>

Initialize and free an event base

#include <event2/event.h> #include <iostream> int main() { struct event_base* base = event_base_new(); if (!base) { std::cerr << "Could not initialize libevent" << std::endl; return 1; } event_base_free(base); return 0; }
Debug
Known issues
gotchalibevent has multiple components (core, extra, openssl); link the correct target(s) for your use case.
fix
Use event::core for basic events, event::extra for HTTP/DNS, event::openssl for SSL support.
affects: >=2.0
Upgrade
Version history
2.1.12latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
Amazon
1
OpenAI (training)
1
Resources

No resource links recorded.

libevent — pip install libevent · libregistry