6
512GB
7y

I need a framework that does http and websockets for C++. I have seen many that offer a crap load of stuff like widgets, Json, templates... I only need the protocols!

Do you guys have any experience in this?

Comments
  • 1
    @Lahsen2016 why are you mentioning me? No there's no networking built-in to c++. Linux has its socket headers and windows has lib too. But I recommend boost::asio for networking. Its platform independent and supports async networking aswell

    @512GB
  • 1
    @512GB Asio also exists outside of boost as a standalone lib if you don't want the shitload of stuff boost brings with it. And if you want to do VERY simple stuff like http requests and so on only you could have a look at curlpp too, but I never tried that one myself
  • 0
    Simple tutorial for a http request:

    http://boost.org/doc/libs/...
  • 0
    @b3b3 Nice :) Thank you very much.
  • 0
    @Lahsen2016 they probably are if your programs user are running Linux. But if you want to ship it to a big market it should be platform independent coz most people are using win (sadly). Oh and also I didn't find any uptodate tuts on Linux sockets. Oh and I'm only 17 and doing c++ in my free time so its nearly impossible knowing less than me 😜
Add Comment