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

  • SEARCH
  • Home
  • 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 6155537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:27:10+00:00 2026-05-23T20:27:10+00:00

Can anyone discern what I’m doing wrong here? According to the documentation in 1.47

  • 0

Can anyone discern what I’m doing wrong here? According to the documentation in 1.47 basic_datagram_socket inherits from basic_socket so the non_blocking() or non_blocking(bool) should be inherited.
Thanks

Error 1 error C2039: ‘non_blocking’ : is not a member of ‘boost::asio::basic_datagram_socket’ c:\DEV\projects\topoTest\topoTest\multiReceiver.cpp 129

This is the call.
socket_.non_blocking(true);

and the socket is defined as follows within a class:

boost::asio::ip::udp::socket socket_;

  • 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-23T20:27:11+00:00Added an answer on May 23, 2026 at 8:27 pm

    The member function boost::asio::ip::udp::socket::non_blocking() appears to be new in 1.47. Either it doesn’t actually exist in 1.47 or you’re actually using an older header. I’d suggest finding the <boost/asio/basic_datagram_socket.hpp> header that’s being included to see if it actually has that member function as part of the basic_datagram_socket class. If not, you can always do it the old way like Steve Townsend said in his answer.

    I just downloaded Boost 1.47 and found that basic_datagram_socket inherits non_blocking() from basic_socket. It looks to me like you don’t actually have Boost 1.47.

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

Sidebar

Related Questions

Can anyone help me as what is going wrong here? Am not able to
Can anyone explain why here a = [] ? 1 : 2 a will
Can anyone explain me what's going on? I use this method - (BOOL)shouldAutorotateToInterfaceOrientation:( UIInterfaceOrientation)interfaceOrientation
Can anyone explain from this simple login script why the session seems to delete
Can anyone point me in the right direction on this. From reading the FAQs
Can anyone see anything wrong with this? It stops the image changing when the
Can anyone provide an easier more automatic way of doing this? I have the
Can anyone let me know how can we change the value of kendo combobox
Can anyone enlighten me to a way I can Highlight the content of an
Can anyone explain to me why this program: for(float i = -1; i <

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.