随笔分类 - Network
摘要:Introduction Under some circumstances, it is useful for a client or server to become aware of the termination or loss of connection with its peer. In
阅读全文
摘要:Slow Start The slow start algorithm is executed when a new TCP connection is created or when a loss has been detected due to a retransmission timeout
阅读全文
摘要:Introduction Congestion control is a set of behaviors determined by algorithms that each TCP implements in an attempt to prevent the network from bein
阅读全文
摘要:Urgent Mechanism Difference between push and urgent flags in TCP https://stackoverflow.com/questions/9153566/difference-between-push-and-urgent-flags-
阅读全文
摘要:Example We create a TCP connection and cause the receiving process to pause before consuming data from the network. This arranges for the receiver to
阅读全文
摘要:Flow Control and Window Management Every TCP segment (except those exchanged during connection establishment) includes a valid Sequence Number field,
阅读全文
摘要:Introduction An “interactive” TCP connection is one in which user input such as keystrokes, short messages, or joystick/mouse movements need to be del
阅读全文
摘要:Destination Metrics Repacketization When TCP times out and retransmits, it does not have to retransmit the identi- cal segment. Instead, TCP is allowe
阅读全文
摘要:Spurious Timeouts and Retransmissions Under a number of circumstances, TCP may initiate a retransmission even when no data has been lost. Such undesir
阅读全文
摘要:Example The first line of Figure 14-7 (number 40) indicates the first time ACK 23801 is received The window update at time 0.853 is an ACK with a dupl
阅读全文
摘要:Retransmission Ambiguity and Karn’s Algorithm A problem measuring an RTT sample can occur when a packet is retransmitted. Say a packet is transmitted,
阅读全文
摘要:TCP has two separate mechanisms for accomplishing retransmission, one based on time and one based on the structure of the acknowledgments. The second
阅读全文
摘要:TCP Server Operation In particular, we wish to become familiar with how TCP servers use port numbers and how multiple concurrent clients are handled.
阅读全文
摘要:Reset Segments A segment hav- ing this bit set to “on” is called a “reset segment” or simply a “reset.” In general, a reset is sent by TCP whenever a
阅读全文
摘要:When initialized, TCP starts in the CLOSED state. Usually an imme- diate transition takes it to either the SYN_SENT or LISTEN state, depending on whet
阅读全文
摘要:Connections and Translators NAT TCP Options Every option begins with a 1-byte kind that specifies the type of option. Options that are not understood
阅读全文
摘要:Introduction Recall that TCP’s service model is a byte stream. TCP detects and repairs essentially all the data transfer problems that may be introduc
阅读全文
摘要:Using Semaphores to Schedule Shared Resources In this scenario, a thread uses a semaphore operation to notify another thread that some condition in th
阅读全文
摘要:Modern operating systems provide three basic approaches for building concurrent programs: Processes. With this approach, each logical control flow is
阅读全文
摘要:It is important to realize that clients and servers are processes and not ma- chines, or hosts as they are often called in this context. Data received
阅读全文