(E-Mail Removed) wrote:
> In article <(E-Mail Removed) .com>,
> FLY135 <(E-Mail Removed)> wrote:
>>TCP is streaming so there is no guarantee that the print statement will
>>print out packets the same way that you sent them. You shouldn't lose
>>any data, but you might find the lines broken differently.
>>
> There is so much wrong with that statement that you were better off
> keeping silent. What you probably meant was that it's a buffered
> transfer with a block size that might not match the original request, so
> received data might not arrive in a single block.
However, even if the TCP segment size (aka block) does match the
original request, and one could get lucky, an application programmer
should never work to that, and should indeed treat a TCP connection as
a byte stream and utterly ignore the implementation detail that TCP
sends data in segments. It is quite correct to describe TCP as
providing a byte-stream semantic, and I suspect that is what was meant
to be conveyed by "TCP is streaming"
rick jones
--
firebug n, the idiot who tosses a lit cigarette out his car window
these opinions are mine, all mine; HP might not want them anyway...

feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...