[Boost-bugs] [Boost C++ Libraries] #12395: Asio Serial_port does not work after unplug and plug the cable back (reconnection)

Subject: [Boost-bugs] [Boost C++ Libraries] #12395: Asio Serial_port does not work after unplug and plug the cable back (reconnection)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-08-16 13:13:30


#12395: Asio Serial_port does not work after unplug and plug the cable back
(reconnection)
------------------------------+----------------------------
 Reporter: paulorbhell@… | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
------------------------------+----------------------------
 After unplug and plug the cable during runtime, the write_some operation
 returns the number of bytes written but if you check the other side no
 bytes were sent.
 If we restart the runtime, it works again.

 The workaround I am trying to implement is if I have any timeout
 conditions I will release the resources and open the port again.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12395>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC