随笔分类 -  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 阅读全文
posted @ 2018-10-11 00:02 geeklove 阅读(356) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2018-10-10 12:55 geeklove 阅读(335) 评论(0) 推荐(0)
摘要:Introduction Congestion control is a set of behaviors determined by algorithms that each TCP implements in an attempt to prevent the network from bein 阅读全文
posted @ 2018-10-09 13:56 geeklove 阅读(420) 评论(0) 推荐(0)
摘要:Urgent Mechanism Difference between push and urgent flags in TCP https://stackoverflow.com/questions/9153566/difference-between-push-and-urgent-flags- 阅读全文
posted @ 2018-10-08 13:11 geeklove 阅读(140) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2018-10-08 10:08 geeklove 阅读(236) 评论(0) 推荐(0)
摘要:Flow Control and Window Management Every TCP segment (except those exchanged during connection establishment) includes a valid Sequence Number field, 阅读全文
posted @ 2018-10-07 23:14 geeklove 阅读(343) 评论(0) 推荐(0)
摘要:Introduction An “interactive” TCP connection is one in which user input such as keystrokes, short messages, or joystick/mouse movements need to be del 阅读全文
posted @ 2018-10-06 21:20 geeklove 阅读(394) 评论(0) 推荐(0)
摘要:Destination Metrics Repacketization When TCP times out and retransmits, it does not have to retransmit the identi- cal segment. Instead, TCP is allowe 阅读全文
posted @ 2018-10-06 16:59 geeklove 阅读(273) 评论(0) 推荐(0)
摘要:Spurious Timeouts and Retransmissions Under a number of circumstances, TCP may initiate a retransmission even when no data has been lost. Such undesir 阅读全文
posted @ 2018-10-06 15:05 geeklove 阅读(690) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2018-10-05 19:47 geeklove 阅读(432) 评论(0) 推荐(0)
摘要:Retransmission Ambiguity and Karn’s Algorithm A problem measuring an RTT sample can occur when a packet is retransmitted. Say a packet is transmitted, 阅读全文
posted @ 2018-10-04 13:46 geeklove 阅读(703) 评论(0) 推荐(0)
摘要:TCP has two separate mechanisms for accomplishing retransmission, one based on time and one based on the structure of the acknowledgments. The second 阅读全文
posted @ 2018-10-04 01:01 geeklove 阅读(1055) 评论(0) 推荐(0)
摘要:TCP Server Operation In particular, we wish to become familiar with how TCP servers use port numbers and how multiple concurrent clients are handled. 阅读全文
posted @ 2018-10-03 17:38 geeklove 阅读(288) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2018-10-02 21:34 geeklove 阅读(220) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2018-10-02 12:15 geeklove 阅读(636) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2018-10-01 16:31 geeklove 阅读(270) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2018-10-01 12:07 geeklove 阅读(559) 评论(0) 推荐(0)
摘要:Using Semaphores to Schedule Shared Resources In this scenario, a thread uses a semaphore operation to notify another thread that some condition in th 阅读全文
posted @ 2018-07-29 19:07 geeklove 阅读(231) 评论(0) 推荐(0)
摘要:Modern operating systems provide three basic approaches for building concurrent programs: Processes. With this approach, each logical control flow is 阅读全文
posted @ 2018-07-25 17:15 geeklove 阅读(259) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2018-07-24 18:13 geeklove 阅读(201) 评论(0) 推荐(0)