Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
主にepollファイル記述子のベースループが必要な場合、他にどのような機能がlibevent提供されますhttpかdns?
epoll
libevent
http
dns
epoll非常に大きなプロジェクトであることは承知していますが、ラッパー APIを作成するのは非常に簡単に思えます。
libevent で得られる付加価値は移植性です。あなたの同じコードは、Windows 上でファイルを実行するか、epoll() とは異なる API で実行されます。
さらに、車輪を再発明する必要はありません:)