网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 冲浪宝典 > 组网技术 > 网络协议
组网技术:局域网,路由技术,交换技术,网络方案,网络管理,网络协议,Cisco网络,无线技术,华为网络,存储备份
本月文章推荐
.RFC3315 - Dynamic Host Configu.
.超文本传输协议HTTP.
.RFC2306 - Tag Image File Forma.
.RFC1566 - Mail Monitoring MIB.
.OSPF 对以太网的链路状态描述对以.
.RFC2645 - ON-DEMAND MAIL RELAY.
.聚合BGP.
.Internet协议.
.与WEP一样好用 无线LAN新安全技术.
.什么是DNS协议.
.RFC2773 - Encryption using KEA.
.RFC2037 - Entity MIB using SMI.
.RFC1582 - Extensions to RIP to.
.配置OSPF协议(小结).
.RFC2894 - Router Renumbering f.
.RFC1083 - IAB official protoco.
.RFC2703 - Protocol-independent.
.RFC3025 - Mobile IP Vendor/Org.
.HTTP协议状态码的含义.
.No.7信令配合中两个问题的分析.

RFC202 - Possible Deadlock in ICP

发表日期:2008-1-23



  Network Working Group Steve Wolfe
Request for Comments: #202 UCLA-CCN
NIC #7155 Jon Postel
Categories: D UCLA-NMC
References: Document #2 26 July 1971
Obsoletes: None

We have noticed a possible deadlock situation which may arise using the
Initial Connection Protocol (ICP) specified in Document #2 (NIC #7101 in
the Current Network Protocols Notebook NIC #7104).

If on both sides one RFCis issued and a "wait for match" is required
before the second RFCis issued, it is possible that the first RFC's
will not match. In particular a deadlock will occur if both sides open
their send or both sides open their receive sockets first.

Briefly the ICP is:
<where the original uses a script lowercase letter with a single digit
subscript we use the lower case letter followed by {digit} so that
script-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 the
Host-Host Protocol. Note that steps S7 and S8 can be reversed as can U6
and U7. Also, notice that at any time after S2 the server could
initiate steps S7 and S8 in parallel with steps S3 through S6, and that
at any time after U4 the user could initiate steps U6 and U7 in parallel
with step U5."

[Page 1]

We recommend that the server perform steps 7 and 8 before waiting for
the user to perform step 6 or 7. It is also suggested that the user
issue the RFC's in steps 6 and 7 without waiting for the server. (If
the user is only Listening then both Listens should be issued without
waiting for the server.) If for some reason a host must delay between
issuing RFC's it must issue the RFC's involving sockets S and U+3 first.

[ This RFCwas put into machine readable form for entry ]
[ into the online RFCarchives by Robert Barnes 6/97 ]
上一篇:RFC203 - Achieving reliable communication 人气:256
下一篇:RFC200 - RFClist by number 人气:245
浏览全部网络协议的内容 Dreamweaver插件下载 网页广告代码 祝你圣诞节快乐 2009年新年快乐