开发者

Is it possible to embed nginx in a C/C++ application

开发者 https://www.devze.com 2023-03-16 14:09 出处:网络
The application r开发者_C百科uns in Linux, Windows, Macintosh. Also, if yes, how much effort is required?Does nginx run on windows?

The application r开发者_C百科uns in Linux, Windows, Macintosh.

Also, if yes, how much effort is required?


Does nginx run on windows?

I think you'd have a much better result using an existing library that includes a good http server. My first choice would be libevent.


Windows version of Ngnix isn't open sourced due to low quality of source code; it's just for testing/development.

For Linux and *BSD, you can embed your C/C++ application into Nginx by using module API. But if you want to stay in your application, libev and libeio is your friend.

0

精彩评论

暂无评论...
验证码 换一张
取 消