Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I asked Andrew something to the effect of “What promises does TCP make about when it will get around to writing data to the network?

0
Posted

I asked Andrew something to the effect of “What promises does TCP make about when it will get around to writing data to the network?

0

Not many promises, but some. I’ll try and quote chapter and verse on this: References: RFC 1122, “Requirements for Internet Hosts” (also STD 3) RFC 793, “Transmission Control Protocol” (also STD 7) • The socket interface does not provide access to the TCP PUSH flag. • RFC1122 says (4.2.2.2): A TCP MAY implement PUSH flags on SEND calls. If PUSH flags are not implemented, then the sending TCP: (1) must not buffer data indefinitely, and (2) MUST set the PSH bit in the last buffered segment (i.e., when there is no more queued data to be sent). • RFC793 says (2.8): When a receiving TCP sees the PUSH flag, it must not wait for more data from the sending TCP before passing the data to the receiving process. [RFC1122 supports this statement.] • Therefore, data passed to a write() call must be delivered to the peer within a finite time, unless prevented by protocol considerations. • There are (according to a post from Stevens quoted in the FAQ [earlier in this answer – Vic]) about 11 tests mad

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123