Boost logo

Boost Users :

Subject: Re: [Boost-users] basic_socket.hpp line 1421
From: Christopher Pisz (cpisz_at_[hidden])
Date: 2013-07-01 19:12:59


On 7/1/2013 6:08 PM, Christopher Pisz wrote:
> in boost's header basic_socket.hpp:
>
> void shutdown(shutdown_type what)
> {
> boost::system::error_code ec;
> this->get_service().shutdown(this->get_implementation(), what, ec);
> boost::asio::detail::throw_error(ec, "shutdown");
> }
>
> I don't see how this would not throw? It looks like it _always_ throws?
> What's the deal here?

The ec value is 10054 btw. I'm not sure where I can look those up. Where
to look?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net