Purchase Solution

Calculation of Port Numbers in TCP Connection

Not what you're looking for?

Ask Custom Question

1. Hosts A and B are communicating over a TCP connection, and Host B has already received from Host A all bytes up through (and including) byte 248. Suppose Host A then sends two segments to Host B back-to-back. The first and second segments contain 40 and 60 bytes of data, respectively. In the first segment, the sequence number is 249, the source port number is 503, and the destination port number is 80. Host B sends an acknowledgment (ACK) whenever it receives a segment from Host A.

a) In the second segment sent from Host A to Host B, what are the sequence number, source port number, and destination port number?
b) If the first segment arrives before the second segment, in the acknowledgement of the first arriving segment what are the acknowledgement sequence number, the source port number, and the destination port number?
c) If the second segment arrives before the first segment, in the acknowledgement of the first arriving segment what is the acknowledgement sequence number?

Purchase this Solution

Solution Summary

The guide gives detailed solutions for calculations of sequence number, source port number, and destination port number by three sending orders: host A to host B, host A before host B and host A after host B.

Solution Preview

sequence number is 289 (guide: sequence number will be first byte of the next sequence of bytes transmitted. as the first segment sent had
40 bytes, the next sequence number will ...

Purchase this Solution

Free BrainMass Quizzes
C# variables and classes

This quiz contains questions about C# classes and variables.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Javscript Basics

Quiz on basics of javascript programming language.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.