Google
 

Wednesday, March 5, 2008

TCP: The Connection-Oriented Transport Protocol

TCP important features that worth mentioning:

  • Stream-oriented processing— TCP processes data in a stream. In other words, TCP can accept data a byte at a time rather than as a preformatted block. TCP formats the data into variable-length segments, which it will pass to the Internet layer.

  • Resequencing— If data arrives at the destination out of order, the TCP module is capable of resequencing the data to restore the original order.

  • Flow control — TCP's flow control feature ensures that the data transmission won't outrun or overrun the destination machine's capability to receive the data. This is especially critical in a diverse environment in which there may be considerable variation of processor speeds and buffer sizes.

  • Precedence and security— The Department of Defense specifications for TCP call for optional security and priority levels that can be set for TCP connections. Many TCP implementations, however, do not provide these security and priority features.

  • Graceful close— TCP is as careful about closing a connection as it is about opening a connection. The graceful close feature ensures that all segments have been sent and received before a connection is closed.

No comments: