quartz/content/notes/cosc203-lab20.md
2022-09-22 22:20:33 +12:00

28 lines
544 B
Markdown

---
title: "cosc203-lab20"
aliases:
tags:
- lab
- cosc203
---
![](https://i.imgur.com/EnNd94C.png)
1. header
1. 4 fields
1. source port
2. dest port
3. length
4. checksum
2. each field is 2 bytes
![100](https://i.imgur.com/dzMuJWY.png)
2. payload is 980 bytes
1. max is 65536-8 = 65528
3. 17 ![50](https://i.imgur.com/uKGY8WP.png)
![](https://i.imgur.com/In1iX3w.png)
4. the source port of the first message is the destination port of the second and the destination port of the first is the destination port of the second
5.