In: Computer Science
Assume a 2.8 MByte file is being uploaded from a client application to a web server. Answer the following questions from the perspective of the protocol stack on the client.
a. What protocol is in use at the application layer?
b. Is this application layer protocol reliable?
c. The application layer hands this 2.8 MByte file to the transport layer. What protocol is in use at the transport layer?
d. Is this transport layer protocol reliable?
e. Is this transport layer protocol connection oriented or connection-less?
f.What does the transport layer do with this 2.8 MByte file?
g. The transport layer then hands its data off to what layer?
h. What is the responsibility of this next layer?
a) File Transfer Protocol(FTP) is an application layer protocol that is used to moves 2.8 MB inbetween CLIENTS and WEB SERVERS
b) yes, it operates though a reliable connection as a transfer "session" between the client (host) and server (remote) computers.
c)Session layer handles that 2.8MB data to trasport layer and TCP PROTOCOL is used in the transport layer
d)yes, TCP assigns a sequence number to each byte transmitted and expects a positive acknowledgement from the receiving TCP. If ACK is not received within a timeout interval, then the data is retransmitted to the destination. The receiving TCP uses the sequence number to reassemble the segments if they arrive out of order or to eliminate the duplicate segments.
e) It is connection oriented because it is tcp
f) 1)In transport layer END-TO-END delivery too place that is transmitting the entire data i.e..,2.8 MB to the destination and checks whether it the data is reaches or not by using 4 methods ERROR CONTROL, SEQUENCE CONTROL, LOSS CONTROL AND DUPLICATION CONTROL.
2) Data generated by an application on one machine must be transmitted to the correct application on another machine. In this case, addressing is provided by the transport layer.
3)FLOW
CONTROL:. It uses the sliding window protocol that makes the data
transmission more efficient as well as it controls the flow of data
so that the receiver does not become overwhelmed. Sliding window
protocol is byte oriented rather than frame oriented.
e) Transport layer handles that entire data to data link layer
g) This data link layer converts that data to fragments which is like small blocks adn also checks flowing of data. The data link layer adds an Ethernet frame and instructs the physical layer hardware when to transmit.