21 Feb
2009
21 Feb
'09
5:56 a.m.
"Rob Currey"
In my app I need to read the 8 bytes (after the 26) as binary (and hence don't use the streambuf to do so). Yet read_until has already consumed them from the socket and placed them in the streambuf :(
Suggestions?
Can you just pull the raw bytes directly from the streambuf? It should contain the bytes that were sent; as far as I know it doesn't do any translation or change them at all. ----Scott.