Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio::serial_port] I can read and write synchronously, but how do I unblock when I want to end?
From: michi7x7 (michi_at_[hidden])
Date: 2012-02-11 09:55:06


> - Calling close on the port: This generates an exception, which I can
> catch, but I was told I can't distinguish shutdown from error if I do this.

that's not true. asio will throw an
"boost::asio::error::operation_aborted" error-code.



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