
10 Dec
2009
10 Dec
'09
9:55 a.m.
On 10/12/2009 10:24, Igor R wrote:
response_.consume(2) ; "ok\r\n" is 4 bytes, why do you consume 2?
Because just before, the 2 bytes of "ok" are consumed by response_stream.read(response_char, message_size) ; I assume that this read() call consume them, no ?