{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# Homework2Answers - Homework 2 Solution 1 a b c d e f...

This preview shows pages 1–2. Sign up to view the full content.

Homework 2 Solution 1. Chapter 3, problem 1 (10 points) a) A barb2right S source port: 2001 barb2right destination port: 23 b) B barb2right S source port: 6050 barb2right destination port: 23 c) S barb2right A source port: 23 barb2right destination port: 2001 d) S barb2right B source port: 23 barb2right destination port: 6050 e) Yes f) No. 2. Chapter 3, problem 4 (10 points) (a) Adding the two bytes gives 10011101. Taking the one’s complement gives 01100010 (b) Adding the two bytes gives 00011110; plus the carry-out bit gives 00011111. Thus the one’s complement gives 11100000. (c) Flipping a bit in the same position in these two bytes will not change the checksum. For example, first byte = 00110101; second byte = 01101000. 3. Chapter 3, problem 12 (10 points) One example: 4. Chapter 3, problem 21 (20 points) a) True. Suppose the sender has a window size of 3 and sends packets 1, 2, 3 at t 0 . At t 1 ( t 1 t 0) the receiver ACKS 1, 2, 3. At t 2 ( t 2 t 1) the sender times out and resends 1, 2, 3. At t 3 the receiver receives the duplicates and re-acknowledges 1, 2, 3. At t 4 the sender receives the ACKs that the receiver sent at t 1 and advances its window to 4, 5, 6. At

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 3

Homework2Answers - Homework 2 Solution 1 a b c d e f...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online