Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3351732
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:56:39+00:00 2026-05-18T01:56:39+00:00

cpp_netlib docs contains example HTTP client , but I see it works only in

  • 0

cpp_netlib docs contains example HTTP client, but I see it works only in blocking mode:

http_client::response response = client.get(request);

— this (as I guess) will stop program execution while waiting for server’s response. Can I perform multiple concurrent requests with cpp_netlib without spawning multiple threads? I mean a non-blocking manner, something like cyclical calling of io_service.poll() and using callback handlers to catch responses – and also some additional processing while waiting for response(s).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T01:56:40+00:00Added an answer on May 18, 2026 at 1:56 am

    It is possible to handle asynchronous connections in non-blocking manner using a typedef with an asynchronous tag:

    typedef boost::network::http::basic_client<
      boost::network::http::tags::http_async_8bit_udp_resolve
      , 1, 0> http_client;
    

    But currently there’s no ability to implement full-featured concurrent connections handling, with callbacks and cyclical checking for requests completion. Not with current 0.7 version of the library, and not with next 0.8. Maybe, these features will be implemented in cpp_netlib 0.9.

    For more details, look at cpp_netlib mailing list archieve: http://sourceforge.net/mailarchive/message.php?msg_name=AANLkTingb%2BB06YVyK%3D-XYAcZsQ2sZc%3DE%3DTPhAgcfjrTb%40mail.gmail.com

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to build the cpp-netlib library from Visual Studio 2010 but get
The .cpp file compiles normally, but the Scopes combo box does show only 3
In cpp, the result of the following code snippet is: 5 5 5 But
Example: $ objdump Logger.cpp.o -t 00000000 g F .text 00000000 .hidden __sti___10_Logger_cpp_0b2ae32b
Because I've made .cpp files and then transferred them into .h files, the only
The stereo_match.cpp example converts L and R images into disparity and point cloud. I
I have two basic Cpp tasks, but still I have problems with them. First
I figured it wouldn't work, but i just uploaded my program file from local
I downloaded the yaml-cpp sources, generated its xcode project, built it, but how do
Why in cpp a dll in debug mode is X10 bigger than release while

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.