Boost logo

Boost Users :

Subject: Re: [Boost-users] Error closing an asio::socket
From: Claude (clros_at_[hidden])
Date: 2011-05-14 09:44:12

    This is the code:

      boost::asio::io_service io_service;
      tcp::acceptor acceptor(io_service,tcp::endpoint(tcp::v4(),3211));
       tcp::socket *socket = new tcp::socket(io_service);

        //make a new thread...
        std::thread *t = new std::thread(std::bind(threadSocket,socket));


View this message in context:
Sent from the Boost - Users mailing list archive at

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at