开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜