Question

In: Computer Science

Assume a 2.8 MByte file is being uploaded from a client application to a web server....

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?

Solutions

Expert Solution

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.


Related Solutions

Explain the key difference between a web service application and a general client/server application
Explain the key difference between a web service application and a general client/server application
In web programming what is the Client-Server model?
In web programming what is the Client-Server model?
In web programming what is the Client-Server model?
In web programming what is the Client-Server model?
In Java and using JavaFX, write a client/server application with two parts, a server and a...
In Java and using JavaFX, write a client/server application with two parts, a server and a client. Have the client send the server a request to compute whether a number that the user provided is prime. The server responds with yes or no, then the client displays the answer.
From the security aspect of client/browser, connecting to a secure web site/server, From the cyber security...
From the security aspect of client/browser, connecting to a secure web site/server, From the cyber security perspective, what browser features should be examined for valid certificates. What are the risks of using expired web certificates
Will rate answer 1) Assume a user requests a large object from a web server. Assume...
Will rate answer 1) Assume a user requests a large object from a web server. Assume that for the TCP running on the web server: • the MSS is 1,460 bytes (a more precise value for TCP when operating over an Ethernet), • each segment transmitted contains 66 bytes of headers (for TCP and all lower-level protocols), and • flow and congestion control mechanisms do not limit the rate at which the web server transmits data. a) Derive an expression...
From the security aspect of client/browser, connecting to a secure web site/server, Mention the importance of...
From the security aspect of client/browser, connecting to a secure web site/server, Mention the importance of web certificates. Mention 4 certificate issuing companies Mention a security incident (or case study) of exploiting web certificates. From the cyber security perspective, what browser features should be examined for valid certificates. What are the risks of using expired web certificates?
what will be the code in C programming for the client and server chat application for...
what will be the code in C programming for the client and server chat application for the below issue :- write the C Programming code that able client have a unique ID to be known by the server
Explain the architectural patterns-layered, client-server, and application architecture.
Explain the architectural patterns-layered, client-server, and application architecture.
in Java - implement ftp-server and ftp-client. ftp-server Logging into ftp-server from ftp-client The ftp-server is...
in Java - implement ftp-server and ftp-client. ftp-server Logging into ftp-server from ftp-client The ftp-server is an interactive, command-line program that creates a server socket, and waits for connections. Once connected, the ftp-client can send and receive files with ftp-server until ftp-client logs out. Sending and receiving files The commands sent from the ftp-client to the ftp-server must recognize and handle are these: rename- the ftp-server responds to this command by renaming the named file in its current directory to...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT