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
mihalych1998 [28]
3 years ago
10

Hosts A and B are communicating over a TCP connection, and Host B has already received from A all bytes up through byte 126. Sup

pose Host A then sends two segments to Host B back-to-back. The first and second segments contain 50 and 100 bytes of data, respectively. In the first segment, the sequence number is 127, the source port number is 302, and the destination port number is 80. Host B sends an acknowledgement whenever it receives a segment from Host A.
1.In the second segment sent from A to B, what are the sequence number, source port number and destination port number?

2.If the first segment arrives before the second segment, in the acknowledgment of the first arriving segment, what is the acknowledgment number, the source port number and destination port number?

3.If the second segment arrives before the first segment, in the acknowledgment of the first arriving segment, what is the acknowledgment number?

4.Suppose the two segments sent by A arrive in order at B. The first acknowledgment is lost and the second acknowledgment arrives after the first timeout interval. Draw a timing diagram, showing these segments and all other segments and acknowledgments sent. (Assume there is no additional packet loss).

Computers and Technology
1 answer:
Tresset [83]3 years ago
3 0

Answer:

1) sequence number=207 ,Source port number = 302, Destination port number= 80

2) Acknowledgement number= 207, Source port number = 80                   Destination port number= 302

3) Acknowledgement number=127

4) View the attached file for the Timing diagram

Explanation:

1) The sequence number is 127 + 80 = 207, the source port number is 302, and the destination port number is 80.

2) The acknowledgement number is 207, source port number is 80 and the destination port number is 302 if the first segment arrives before the second segment, in the acknowledgment of the first arriving segment.

3) The acknowledgement number is 127, indicating that the receiver is still waiting for bytes 127 and onward.

4) View attached file.    

You might be interested in
Robert's computer is not starting due to an error in the BIOS. Which of these chips could have malfunctioned? Select the correct
timofeeve [1]

Hi;

In the question, Robert gives the explanation that there is an error in the BIOS. A BIOS (Standing for Basic Input & Output System) is a ROM chip, and is vital for the computer to initialize devices such as RAM, the CPU, etc. If there is ever an error there, a computer simply cannot boot.

From the options given, your answer given would be C. ROM.

I hope this helps!

8 0
3 years ago
What is this screen called? (I attached a picture)
Anna11 [10]

Answer:

graph screen is the correct answer

8 0
3 years ago
Read 2 more answers
For a class Foo, one difference between a variable declared Foo * and a variable declared Foo & is that only the variable de
Studentka2010 [4]

Answer:

False.

Explanation:

When we declare a variable as reference type we have to initialize that variable otherwise the compiler will give error that the reference variable is not initialized.You also cannot initialize the variable Foo& with NULL value because it is a reference variable and we have to initialize it.

On the other there is no need to initialize the variable Foo * since it is a pointer it can also store NULL value.

So the answer is only Foo* can store NULL value not Foo &.

5 0
3 years ago
Given four files named asiasales2009.txt, europesales2009.txt, africasales2009.txt, latinamericasales2009.txt, define four ofstr
Lynna [10]

Answer:

ofstream asia("asiasales2009.txt");  //It is used to open asiasales2009.txt files with the asia objects.

ofstream europe("europesales2009.txt");  //It is used to open  europesales2009.txt files with the europe objects.

ofstream africa("africasales2009.txt"); //It is used to open africasales2009.txt files with the africa objects.

ofstream latin("latinamericasales2009.txt");//It is used to open latinamericasales2009.txt files with the latin objects.

Explanation:

  • The above code is written in the c++ language which is used to open the specified files with the specified objects by the help of ofstream class as described in the question-statements.
  • The ofstream is used to open the file in the c++ programing language, so when a user wants to use the ofstream to open the file in written mode, then he needs to follow the below syntax--

              ofstream object("file_name_with_extension");

4 0
3 years ago
A database is used to _____.
Cloud [144]
A database is used to organize a large collection of data, hence the name database. It is literally a base that would contain a chunk of data that a person or an organization will need to pull out later when they need it. Databases are usually used by companies or organizations
5 0
3 years ago
Read 2 more answers
Other questions:
  • Someone who is young, lacks funds, and really wants to gain technical skills while serving his or her nation should consider
    15·1 answer
  • Yan wants to attract customers specifically searching on Google for Time-B-Gone, his company's unique office-support product. Hi
    7·1 answer
  • Which option represents the location of the Goal Seek function?
    8·2 answers
  • 4. Write technical term for the following statements
    15·2 answers
  • Martha has a large data list and wants to sort it quickly and efficiently. Which algorithm should Martha use
    8·1 answer
  • 3.1.1 What type of goods are car radio and remote control.​
    12·1 answer
  • What is the best way to pay for college?
    9·2 answers
  • How can I hide my cracked phone screen? or How can I fix it myself without my parent finding out? or How can I fix my phone with
    14·1 answer
  • When did time begin?
    11·1 answer
  • Computer are most wonderful creation of 21st century how ?​
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!