Hi,
 
I went through the documentation of boost::asio::read_until() function. It says that if some data left in the stream after a read_until() operation, it will be available in the next "read" opration from the stream. Is there any way to "flush" (simply remove)  the unwanted data from the stream so as to receive entirely new data than the old "useless" data left in the stream?
 
Thanks,
  Lloyd


______________________________________
Scanned and protected by Email scanner