Skip to main content Accessibility help
×
Hostname: page-component-76fb5796d-5g6vh Total loading time: 0 Render date: 2024-04-27T02:28:57.741Z Has data issue: false hasContentIssue false

6 - TCP study

Published online by Cambridge University Press:  05 June 2012

Shivendra S. Panwar
Affiliation:
Polytechnic University, New York
Shiwen Mao
Affiliation:
Polytechnic University, New York
Jeong-dong Ryoo
Affiliation:
Electronics and Telecommunications Research Unit, South Korea
Yihan Li
Affiliation:
Polytechnic University, New York
Get access

Summary

The flow on a TCP connection should obey a ‘conservation of packets’ principle. … A new packet isn't put into the network until an old packet leaves.

Van Jacobson

Objectives

  • TCP connection establishment and termination.

  • TCP timers.

  • TCP timeout and retransmission.

  • TCP interactive data flow, using telnet as an example.

  • TCP bulk data flow, using sock as a traffic generator.

  • Further comparison of TCP and UDP.

  • Tuning the TCP/IP kernel.

  • Study TCP flow control, congestion control, and error control using DBS and NIST Net.

TCP service

TCP is the transport layer protocol in the TCP/IP protocol family that provides a connection-oriented, reliable service to applications. TCP achieves this by incorporating the following features.

  • Error control: TCP uses cumulative acknowledgements to report lost segments or out of order reception, and a time out and retransmission mechanism to guarantee that application data is received reliably.

  • Flow control: TCP uses sliding window flow control to prevent the receiver buffer from overflowing.

  • Congestion control: TCP uses slow start, congestion avoidance, and fast retransmit/fast recovery to adapt to congestion in the routers and achieve high throughput.

The TCP header, shown in Fig. 0.16, consists of fields for the implementation of the above functions. Because of its complexity, TCP only supports unicast, while UDP, which is much simpler, supports both unicast and multicast. TCP is widely used in internet applications, e.g., the Web (HTTP), email (SMTP), file transfer (FTP), remote access (telnet), etc.

Type
Chapter
Information
TCP/IP Essentials
A Lab-Based Approach
, pp. 111 - 133
Publisher: Cambridge University Press
Print publication year: 2004

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • TCP study
  • Shivendra S. Panwar, Polytechnic University, New York, Shiwen Mao, Polytechnic University, New York, Jeong-dong Ryoo, Electronics and Telecommunications Research Unit, South Korea, Yihan Li, Polytechnic University, New York
  • Book: TCP/IP Essentials
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139167246.009
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • TCP study
  • Shivendra S. Panwar, Polytechnic University, New York, Shiwen Mao, Polytechnic University, New York, Jeong-dong Ryoo, Electronics and Telecommunications Research Unit, South Korea, Yihan Li, Polytechnic University, New York
  • Book: TCP/IP Essentials
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139167246.009
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • TCP study
  • Shivendra S. Panwar, Polytechnic University, New York, Shiwen Mao, Polytechnic University, New York, Jeong-dong Ryoo, Electronics and Telecommunications Research Unit, South Korea, Yihan Li, Polytechnic University, New York
  • Book: TCP/IP Essentials
  • Online publication: 05 June 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9781139167246.009
Available formats
×