473,383 Members | 1,859 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

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

6
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?

-BJ
Nov 14 '07 #1
1 4197
bje990
6
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..

-BJ
Nov 14 '07 #2

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

Similar topics

6
by: Snake | last post by:
Hey, where can I ask about little and big endian stuffs? here or another newsgroup?! I just need help in representing string c = "place" and long b = 0x11223344 in a 16 bit word memory in the...
47
by: Kapil Khosla | last post by:
Hi, I am trying to reverse a byte eg. 11010000 should look like 00001011 Plz note, it is not a homework problem and I do not need the c code for it. Just give me an idea how should I proceed...
6
by: Dennis | last post by:
I was trying to determine the fastest way to build a byte array from components where the size of the individual components varied depending on the user's input. I tried three classes I built: (1)...
8
by: moondaddy | last post by:
I need to convert a byte array to a string and pass it as a parameter in a URL and then convert it back to the original byte array. However, its getting scrambled in the conversion. In short,...
45
by: Ajay | last post by:
Hi all,can you please tell the most efficient method to reverse a byte.Function should return a byte that is reversed.
13
by: John | last post by:
Trying to return the number of 'on' bits in a byte: 'a' = 01100001 = 3 on bits, etc... I'm just adding a bit-wise AND ('&' against octal 1) to a counter called 'bits', then shifting my byte 1...
0
by: kenghot | last post by:
Hi all, I'm have and char array; unsigned char font8 = {0x00,0xF0,0x11,0xE4,0x4C,0x87,0x06,0x00,0x20,0x40,0x81,0x03,0x06,0x00,0x3C, 0x73,0x22,0x44,0x8F,0x92,0x00}; how can i serach font8 in...
1
by: MimiMi | last post by:
I'm trying to decrypt a byte array in java that was encrypted in C#. I don't get any error messages, just a result that's completely not what I was hoping for. I think I am using the same type of...
2
by: MimiMi | last post by:
I'm trying to decrypt a byte array in java that was encrypted in C#. I don't get any error messages, just a result that's completely not what I was hoping for. I think I am using the same type of...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.