Opened 11 years ago

Closed 10 years ago

#6008 closed Bugs (invalid)

boost::asio tutorial issue

Reported by: justinflatt@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.49.0 Severity: Problem
Keywords: Cc:

Description

http://www.boost.org/doc/libs/1_47_0/doc/html/boost_asio/tutorial/tutdaytime1.html

boost::asio::connect(socket, endpoint_iterator);

gcc: error: ‘connect’ is not a member of ‘boost::asio’

Change History (3)

comment:1 by Thomas Heller, 11 years ago

Component: Documentationasio
Owner: changed from Matias Capeletto to chris_kohlhoff

comment:2 by bartek szurgot, 11 years ago

Version: Boost 1.47.0Boost 1.49.0

comment:3 by chris_kohlhoff, 10 years ago

Resolution: invalid
Status: newclosed

You are trying to compile against a version of Boost that is too old. Point your include path at an appropriate version. The asio::connect() function was added in Boost 1.47.

Note: See TracTickets for help on using tickets.