Read the original speed -TCP / IP (TCP blocks into a data stream)

Bulk data stream Chapter 20 TCP

20.1 Introduction

In Chapter 15 we saw TFTP protocol used to stop waiting. Transmitting data at a transmission side needs to wait to receive an acknowledgment has been sent before the data block. In this chapter we will introduce another form of flow control method is known as the TCP sliding window protocol used. This protocol allows the sender stops and waits for a plurality of packets before the acknowledgment can be sent continuously. Because each sender does not have to send a packet acknowledgment wait stopped, so that the data transmission protocol can be accelerated.

We will also introduce the TCP PUSH flag in many previous examples have appeared. In addition, we also introduce slow start, TCP uses the technology to establish a connection in the data stream, the throughput Finally bulk data stream.

20.9 Summary

As we talked about at the beginning of this chapter, there is not one single method can be used to block TCP to exchange data. This is a dynamic process that depends on many factors, some factors we can control (such as send and receive buffer size), while others we have no way to control (such as network congestion, and implementation of relevant characteristics, etc.). In this chapter, we have looked at a number of TCP transmission process, it explains all the features and algorithms that we can see.

The most important methods for efficient transmission of the data block into the TCP sliding window protocol. We investigated a method of TCP to the duct between the sender and the recipient is filled to obtain the fastest possible transmission speed is employed. We measure the capacity of the pipeline with bandwidth-delay product, and analyzes the relationship between the product and the size of the window. In 2 x 4.8 introduces TCP performance when it will involve the concept again.

We also introduced the TCP PUSH flag, because the tracking results are always observed it, but we can not control whether or not it is set. The final topic of this chapter is a TCP urgent data, people often mistakenly referred to as "band data." The TCP urgent mode only a notification from the sender to the recipient, which tells the receiver the emergency notification data has been transmitted, and provides the sequence number of the last byte of data. Programming Interface emergency-related data portion of the application is often not the best use, leading to more confusion.

Original article published 1530 · won praise 1467 · Views 130,000 +

Guess you like

Origin blog.csdn.net/weixin_42528266/article/details/104771033