Is it possible to read one byte through asio :: read?
I get one byte response and it seems useless to use the current buffering code:
char buffer[1];
size_t bytesRead = asio::read(s, asio::buffer(buffer, 1));
if(bytesRead < 1) return false;
Thank.
Syber source
share