
Well, if I transmit 9 characters (or less, whatever), e.g. "012345678", these characters are displayed, followed by a '\0'. Transmitting only 6 characters displays these 6 characters, e.g. "012345" and 4 appended '\0' characters. That's not what I want, I want the program to block and wait for the 10th character in the first example or the 7th, 8th, 9th and 10th character in the second example. Igor R wrote:
However, if I transmit 9 characters from the device, these characters are displayed, appended by a '\0' character (or whichever character I choose as default in read<char>()).
io.run() seems to return immediately, not even waiting for any characters to be transmitted.
Could you clarify the above 2 sentences? If these characters are displayed, they have been received, right?
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://www.nabble.com/asio%3A-serial-ports-and-timeouts-tp24073127p24076926.... Sent from the Boost - Users mailing list archive at Nabble.com.