Boost logo

Boost :

From: Christopher Kohlhoff (chris_at_[hidden])
Date: 2005-10-03 17:12:41


My bad for not checking it with 0.3.3 first, as this version will only
compile with what's in CVS...

> asio::ipv4::tcp::endpoint endpoint(port);
> acceptor_.open(endpoint.protocol());

This line:

> acceptor_.set_option(asio::socket_acceptor::reuse_address(true));

for 0.3.3 needs to be:

  acceptor_.set_option(asio::socket_base::reuse_address(true));

Cheers,
Chris


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk