Question

In: Computer Science

What role does TCP play during HTTP requests? Is TCP a connection-oriented protocol? Explain in details....

What role does TCP play during HTTP requests? Is TCP a connection-oriented protocol? Explain in details. Also, show your knowledge about layers.

Solutions

Expert Solution

Answer:

TCP (Transport Control Protocol) is a protocol that runs on top of IP (is imbedded in IP packets) that provides data integrity for larger data sets via a ‘handshake’ method to make sure all the data gets to the destination.

TCP breaks message or file into smaller packets that are transmitted over the Internet. It also reassembles the packets into the original message that are received from Internet.

Tcp connection oriented protocol?:

Transmission Control Protocol (TCP) is aconnection-oriented protocol.connection-oriented describes a means of transmitting data in which the devices at the end points use a preliminary protocol to establish an end-to-end connection before any data is sent. Connection-oriented protocol service is sometimes called a "reliable" network service, because it guarantees that data will arrive in the proper sequence. Transmission Control Protocol (TCP) is a connection-oriented protocol.

Layers:

The seven Open Systems Interconnection layers are:

Layer 7: The application layer. This is the layer at which communication partners are identified (Is there someone to talk to?), network capacity is assessed (Will the network let me talk to them right now?), and that creates a thing to send or opens the thing received. (This layer is not the application itself, it is the set of services an application should be able to make use of directly, although some applications may perform application layer functions.)

Layer 6: The presentation layer. This layer is usually part of an operating system (OS) and converts incoming and outgoing data from one presentation format to another (for example, from clear text to encrypted text at one end and back to clear text at the other).

Layer 5: The session layer. This layer sets up, coordinates and terminates conversations. Services include authentication and reconnection after an interruption. On the Internet, Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) provide these services for most applications.

Layer 4: The transport layer. This layer manages packetization of data, then the delivery of the packets, including checking for errors in the data once it arrives. On the Internet, TCP and UDP provide these services for most applications as well.

Layer 3: The network layer. This layer handles the addressing and routing of the data (sending it in the right direction to the right destination on outgoing transmissions and receiving incoming transmissions at the packet level). IP is the network layer for the Internet.

Layer 2: The data-link layer. This layer sets up links across the physical network, putting packets into network frames. This layer has two sub-layers, the Logical Link Control Layer and the Media Access Control Layer. Ethernet is the main data link layer in use.

Layer 1: The physical layer. This layer conveys the bit stream through the network at the electrical, optical or radio level. It provides the hardware means of sending and receiving data on a carrier network.


Related Solutions

Why Transmission Control Protocol (TCP) is called as Connection Oriented? Briefly explain
Why Transmission Control Protocol (TCP) is called as Connection Oriented? Briefly explain
​1. __________ is sent within TCP, which provides basic connection-oriented reliability.
Fill the blanks.1. __________ is sent within TCP, which provides basic connection-oriented reliability.2. __________ offers more capability than POP because it enables the use of multiple folders for managing e-mail3. The best way to block __________ is to turn off the relay capability, if it is not needed in an SMTP server4. ___________ is a security alternative provided for e-mail messages and attachments.
What role does network technology play in developing an information system?explain in full details....
What role does network technology play in developing an information system?explain in full details....
What role does the EPA site on the Ribosome play during translation? Explain with help of...
What role does the EPA site on the Ribosome play during translation? Explain with help of a diagram. Also explain how codons, tRNA & anticodons play a role during translation (2 points) What is an Inducible operon? Give an example and explain the steps in the functioning of one such operon. You may use a diagram to explain your answer (2 points)
Does groupthink play during Bay of Pigs Invasion? what role does hindsight play in the situation?
Does groupthink play during Bay of Pigs Invasion? what role does hindsight play in the situation?
Does social media play a role in advertising? If so, what role does it play?
Does social media play a role in advertising? If so, what role does it play?
Consider the TCP connection mechanism.    i. What mechanism is used to set up a TCP...
Consider the TCP connection mechanism.    i. What mechanism is used to set up a TCP connection? ii. Why is the mechanism needed? iii. Outline how the mechanism works with a diagram. iv.CLASSFULL AND CLASSLESS IP
what role does consumption play in shaping your sense of self? what role does it play...
what role does consumption play in shaping your sense of self? what role does it play in our society?
WIRESHARK - What is the throughput (bytes transferred per unit time) for the TCP connection? Explain...
WIRESHARK - What is the throughput (bytes transferred per unit time) for the TCP connection? Explain how you calculated this value. This question is based on the trace file tcp-ethereal-trace-1 in in http://gaia.cs.umass.edu/wireshark-labs/wireshark-traces.zip Thanks in advance!
Briefly explain the Flow Control mechanism in Transmission Control Protocol (TCP)
Briefly explain the Flow Control mechanism in Transmission Control Protocol (TCP)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT