COTP(Connection Oriented Transport Protocol)

<p>As most readers nowadays will be more familiar with <a href="http://wiki.wireshark.org/TCP">TCP</a>, COTP is explained comparing both protocols as they are both used to transport users's data reliably over a network. <p>Packet-based vs. stream-based: COTP transports <em>packets of data</em> from one user to the other, so the receiver will get exactly the same data boundaries as the sender transmitted. <a href="http://wiki.wireshark.org/TCP">TCP</a> transports a <em>continuous stream</em> of data to the receiver, so the protocol on top of TCP often has to add such boundaries itself (see the <a href="http://wiki.wireshark.org/TPKT">TPKT</a> protocol for such a protocol). <p>TSAP's vs. ports: To multiplex several conversations between two hosts, COTP uses TSAP's which are variable length binary blobs (often a meaningful string is used). These TSAP's are matched at connection establishing phase, and replaced by the 2 byte (destination/source) references at data transfer. TCP uses ports for this. One notable difference is that TSAP's are singletons - if a TSAP is used for a connection it cannot be used by another. XXX - Needs clarification. A single TSAP (Transport Service Access Point) may be used by multiple connections. <h4>History</h4> <p>This protocol has been replaced by <a href="http://wiki.wireshark.org/TCP">TCP</a> in most applications. Applications that used COTP before, will often use the <a href="http://wiki.wireshark.org/TPKT">TPKT</a> protocol on top of <a href="http://wiki.wireshark.org/TCP">TCP</a> now.</p>

转载于:https://my.oschina.net/rookiedavin/blog/152351

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值