Notes/UNB/Year 4/Semester 2/CS3873/2024-02-09.md

16 lines
571 B
Markdown
Raw Normal View History

2024-02-09 12:21:04 -04:00
Lecture Topic: Transport Layer overview
Socket information is a tuple, port number is important
# Transport Layer
## UDP
Connectionless transport protocol, no handshake, each segment is handled independently from others
UDP segment is very simple: an 8 byte header and a payload.
It has a source port, destination port, length and checksum
The checksum in UDP is only for detection, not correction
As messages are transported through layers, they acquire new headers that wrap the existing packet
Checksum in UDP is actually optional but is required in TCP and IPv4