What is TCP?

0 votes
203 views
asked Jun 4, 2015 in Computers & IT by Najam
What is TCP?

1 Answer

0 votes
answered Jun 4, 2015 by Sathi (500 points)

By TCP, we mean Transmission Control Protocol and it is a standard that defines how to establish and maintain a network conversation via which application programs can exchange data. TCP works with the Internet Protocol (IP), which defines how computers send packets of data to each other. Together (TCP/IP), TCP and IP are the basic rules defining the Internet. TCP is defined by the Internet Engineering Task Force (IETF) in the Request for Comment (RFC) standards document number 793.

TCP is a connection-oriented protocol, which means a connection is established and maintained until the application programs at each end have finished exchanging messages. It determines how to break application data into packets that networks can deliver, sends packets to and accepts packets from the network layer, manages flow control, and—because it is meant to provide error-free data transmission—handles re-transmission of dropped or garbled packets as well as acknowledgement of all packets that arrive.  In the Open Systems Interconnection (OSI) communication model by ISO, TCP covers parts of Layer 4 i.e, "Transport Layer", and parts of Layer 5, i.e, "Session Layer" out of 7 layers.

To understand this, we can take an example. When a Web server sends an HTML file to a client, it uses the HTTP protocol to do so. The HTTP program layer asks the TCP layer to set up the connection and send the file.  The TCP stack divides the file into packets, numbers them and then forwards them individually to the IP layer for delivery. Although each packet in the transmission will have the same source and destination IP addresses, packets may be sent along multiple routes. The TCP program layer in the client computer waits until all of the packets have arrived, then acknowledges those it receives and asks for re-transmission on any it does not (based on missing packet numbers), then assembles them into a file and delivers the file to the receiving application.

Welcome to Ask Questions & Get Answers, where you can ask questions and receive answers from other members of the community. You know Google Answers has been retired, and is no longer accepting new questions but we are.

Most popular tags

essay writing service way to find out imei number pakistan theory of computation definition excel custom essay best essay writing service cell phone maths best-essay portrait landscape youtube video browser shape computer custom dissertation writing service write-my-essay-online reliable ms(cs) values duplicate service files writing access installation chrome google remove windows english error number custom essay service writers fast best dissertation writing service. custom dissertation online dissertation writing service dissertation-writing-company write-my-paper get-my-essay write-my-custom-essays write-my-essay top essay writing service custom essay writing help best custom essays custom essays online custom essay writing service online buy-top-essay-writing-service buy-custom-essays-online buy-write-my-essay buy-essays-online get my essay write my custom essays write my essay write-my-quality-essay best essay training games band wireless router range wireless router range extender religious importance of istikhara the way to do it or offer istikhara prayer dua-e-istikhara guidelines نیولا neola nuela newla neula vu instructor qustions for viva cs701 vu assignment problem of turing machine bell inequality np-problem boolean formula satisfiable reviews-of-essay-writing-service khashhas hushhash خشخاش hashhash khushhas windows 8 program and features muliple versions microsoft visual c++ 2015 smart phone lenovo plugin update error default value invalid property requested coding error detected moodle page setup failed to customized
...