Opened 11 years ago
Closed 10 years ago
#6008 closed Bugs (invalid)
boost::asio tutorial issue
| Reported by: | 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 , 11 years ago
| Component: | Documentation → asio |
|---|---|
| Owner: | changed from to |
comment:2 by , 11 years ago
| Version: | Boost 1.47.0 → Boost 1.49.0 |
|---|
comment:3 by , 10 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
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.

the same's here: http://www.boost.org/doc/libs/1_49_0/doc/html/boost_asio/example/http/client/sync_client.cpp