⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rfc202.txt

📁 著名的RFC文档,其中有一些文档是已经翻译成中文的的.
💻 TXT
字号:
Network Working Group                                        Steve WolfeRequest for Comments:  #202                                     UCLA-CCNNIC #7155                                                     Jon PostelCategories:  D                                                  UCLA-NMCReferences:  Document #2                                    26 July 1971Obsoletes:  NoneWe have noticed a possible deadlock situation which may arise using theInitial Connection Protocol (ICP) specified in Document #2 (NIC #7101 inthe Current Network Protocols Notebook NIC #7104).If on both sides one RFC is issued and a "wait for match" is requiredbefore the second RFC is issued, it is possible that the first RFC'swill not match.  In particular a deadlock will occur if both sides opentheir send or both sides open their receive sockets first.Briefly the ICP is:<where the original uses a script lowercase letter with a single digitsubscript we use the lower case letter followed by {digit} so thatscript-m-subscript-2 is printed m{2}>Server                                User------                                ----S1:  Listen on socket L.              U1:  RTS(U, L, l{1})S2:  Wait for a match.                U2:  Wait for match.S3:  STR(L, U, s{1})S4:  Wait for allocation.             U3:  All(l{1}, m{1}, b{1})S5:  Send data S in s{1} bit          U4:  Receive data S in s{1}     bytes as allowed by                   bit bytes.     allocation m{1}, b{1}.S6:  CLS(L, U)                        U5:  CLS(U, L)S7:  RTS(S, U+3, l{2})                U6:  STR(U+3, S, s{2})S8:  STR(S+1, U+2, s{3})              U7:  RTS(U+2, S+1, l{3})"The labels here imply no ordering except that ordering required by theHost-Host Protocol.  Note that steps S7 and S8 can be reversed as can U6and U7.  Also, notice that at any time after S2 the server couldinitiate steps S7 and S8 in parallel with steps S3 through S6, and thatat any time after U4 the user could initiate steps U6 and U7 in parallelwith step U5."                                                                [Page 1]We recommend that the server perform steps 7 and 8 before waiting forthe user to perform step 6 or 7.  It is also suggested that the userissue the RFC's in steps 6 and 7 without waiting for the server.  (Ifthe user is only Listening then both Listens should be issued withoutwaiting for the server.)  If for some reason a host must delay betweenissuing RFC's it must issue the RFC's involving sockets S and U+3 first.       [ This RFC was put into machine readable form for entry ]         [ into the online RFC archives by Robert Barnes 6/97 ]                                                                [Page 2]

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -