bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

TCPStream output flush() clears input


From: Ian Campbell
Subject: TCPStream output flush() clears input
Date: Thu, 13 Dec 2001 20:32:25 -0000

Hello,
    I am trying to use the TCPStream class and I have a problem when trying
to flush the output to the remote host, that the input gets cleared. Now
from my understanding of the iostream this shouldn't happen - only the
output should be cleared. Is this a confusion on my part or should this not
happen? At the moment I have worked around (for the purposes of writing the
application)  by using a buffer size of 1, which eliminates the need for any
control of the output buffering. Any help would be much appreciated.

Regards,

Ian Campbell
Band-X Ltd.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]