10 Dec
2009
10 Dec
'09
2:28 p.m.
On 10/12/2009 12:17, Igor R wrote:
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 ? No.
I tried to consume the amount of bytes transferred (4 in this case), without success. What makes me think that my problem is stream-related is that when I don't try to read the answer from the server, I successful close the socket , reconnect, and repeat the process without problem.