470,858 Members | 1,672 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,858 developers. It's quick & easy.

Boost::asio::read_until() Stirps out byte 0x11 ?

Here is the situation.... I have a device i connect to where i read a byte stream until some delimiter is found.

boost::asio::streambuf response;
size_t length = boost::asio::read_until(*comm_socket,
response, delimiter);

The problem is, the bytes i get back are correct except it strips out all the 0x11 characters. I have no idea why this happens. Did anybody have this similar situation?

Nov 14 '07 #1
1 3956
Ok.. this was my fault.

if you are using a serial port server, make sure the flow control is set up correctly..

the xon/xoff is turned off..

Nov 14 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Snake | last post: by
47 posts views Thread by Kapil Khosla | last post: by
6 posts views Thread by Dennis | last post: by
45 posts views Thread by Ajay | last post: by
13 posts views Thread by John | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.