Is there a reason for not adding a way to flush serial port buffers? Searching on the internet, it seems like quite a few others also ran into a need for it as well and ended up resorting to platform specific hacks. It would be nice if the functionality is provided in asio. Thanks! For example: http://stackoverflow.com/questions/22581315/how-to-discard-data-as-it-is-sent-with-boostasio http://www.progtown.com/topic90228-how-for-boost-asio-serialport-to-make-flush.html http://mnb.ociweb.com/mnb/MiddlewareNewsBrief-201303.html |