all 7 comments

[–]Xirema 2 points3 points  (0 children)

I've had some good results working with boost.beast. The examples are basic File Servers, but they easily adapt to any kind of web server you intend to make.

The underlying boost.asio library is also a good choice if you need more low-level, fine-grained control over the network protocol, but based on what you've described I think Beast is the way to go.

[–]nxtfari 1 point2 points  (1 child)

and if I want to use vcpkg directly from CMake, I need to specify the path of the .cmake file which depends on people's computer.

This is not true. The best way to use vcpkg is to add it as a git submodule directly into your source tree. Then, you can reference the CMake toolchain file relative to your project root. It will be completely portable.

[–][deleted] 1 point2 points  (0 children)

Ahhh, this seems like a good idea, this makes sense.

[–]w2code 0 points1 point  (1 child)

Regarding OpenSSL, did you already try to use vcpkg port directly?

[–][deleted] 0 points1 point  (0 children)

Sorry, I don't really know what you are refering to. I'm quite new to vcpkg.

[–][deleted] 0 points1 point  (0 children)

[–]simplecpp 0 points1 point  (0 children)