1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Kay [80]
4 years ago
15

Consider a simple application level protocol built on top of udp that allows a client to retrieve a file from a remote server re

siding at a well known address. the client first sends a request with file name, and the server responds with a sequence of data packets containing different parts of the requested file. to ensure reliability and sequenced delivery, client and server use a stop - and - wait protocol. ignoring the obvious performance issue, do you see a problem with this protocol? think carefully about the possibility of processes crashing.
Computers and Technology
2 answers:
Vsevolod [243]4 years ago
6 0
This Wikipedia article has some useful information. It's good for a reference source. Hope it helps! https://en.wikipedia.org/wiki/Stop-and-wait_ARQ
Molodets [167]4 years ago
4 0

Answer:

Explanation:

Let consider a simple application-level protocol is build on the top of the UDP that allows a client to retrieve a file from a remote server exist in a well-known address. Here, UDP is User Datagram Protocol.

• The client first sends with a file name and the server responds with a sequence of data packets that contain the requested file.

•To ensure reliability and sequenced delivery,here the client and server are using the stop-and-wait protocol.

Problems occur with this protocol:-

The given statement makes the possibility for a client system to get the wrong file.

Let us assume that there are two clients A and B available, and the client A sends a request for a file

"F1" and then it gets crashed.

The client B sends same protocol to request some other file "F2";

In this case, the client B is running on the same machine of where the client A is running and then both files F1 and F2 are using the same IP addresses.

The client B binds its User Datagram Protocol socket to the same port of the client A was using previously.

In case the client B's request is lost when the server's reply for the client A arrive.

And also, client B receives it and assumes that it is a reply for its own request.

Hence, the client system gets the wrong file, when using this approach.

You might be interested in
Why dose this keep popping up i dont understand plz resond first person gets branilest
tiny-mole [99]

Answer:

what keeps popping up

Explanation:

8 0
3 years ago
Assume the following variable definition appears in a program:
AnnZ [28]

Answer:

cout << setprecision(2)<< fixed << number;

Explanation:

The above statement returns 12.35 as output

Though, the statement can be split to multiple statements; but the question requires the use of a cout statement.

The statement starts by setting precision to 2 using setprecision(2)

This is immediately followed by the fixed manipulator;

The essence of the fixed manipulator is to ensure that the number returns 2 digits after the decimal point;

Using only setprecision(2) in the cout statement will on return the 2 digits (12) before the decimal point.

The fixed manipulator is then followed by the variable to be printed.

See code snippet below

<em>#include <iostream>  </em>

<em>#include <iomanip> </em>

<em>using namespace std;  </em>

<em>int main()  </em>

<em>{  </em>

<em> // Initializing the double value</em>

<em> double number = 12.3456;  </em>

<em> //Print  result</em>

<em> cout << setprecision(2)<< fixed << number;  </em>

<em> return 0;  </em>

<em>}  </em>

<em />

4 0
3 years ago
Why is it important to consider the clients temperature before doing the foot spa services?​
never [62]

Answer:

Expecially during these time checkling someone’s tempature could separate you from either getting the virus or not. But without the virus right now, it would be vital due to common things like, if the client has a little fever, you can make the water less hot so it wouldn’t be burning (unless requested). Or with a cold, you can make the water warmer to make it more enjoyable.

5 0
3 years ago
Which is better intel or amd real debate.
natima [27]

I believe Intel is better at handling games. Not saying AMD isn't good, just not as good. AMD is better for handling multiple task. I personally don't mind either.

8 0
3 years ago
Read 2 more answers
Just answer the 2 questions. THX
pogonyaev

Answer:

A then D

Explanation:

3 0
3 years ago
Other questions:
  • What is the output of this code? import java.util.HashSet; class A { public static void main(String[ ] args) { HashSet set = new
    15·1 answer
  • Cattell classified projective tests, such as the rorschach inkblot test, as:
    13·1 answer
  • In these ones all your finding is the mean(average).
    14·1 answer
  • Technician A says that automotive engine blocks are usually classified by the number of cylinders the block. Technician B says t
    9·1 answer
  • ………………..are networks madeup of LANs connected over long distance.
    5·1 answer
  • 2.cite at least 2 example on how multimedia facilitates learning​
    6·1 answer
  • Algoritmos para llevar a cabo una actividad
    15·1 answer
  • Which is an effect of short-term environmental changes?
    8·1 answer
  • What's this little?<br>​
    9·1 answer
  • What web browser feature would be particularly useful when using public computers?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!