boost::asio::ip::tcp::iostream stream;
stream.expires_from_now(boost::posix_time::seconds(60));
stream.connect("sitename","http");
SOME REQUeST
stream.flush();
///////////////// New request to the different site
stream.connect("another site","http");
somthink here
stream.flush();
我想我需要关闭连接,但我不知道该怎么做。