473,224 Members | 1,361 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,224 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 4181
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
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.