2024-02-09 12:21:03
This commit is contained in:
16
UNB/Year 4/Semester 2/CS3873/2024-02-09.md
Normal file
16
UNB/Year 4/Semester 2/CS3873/2024-02-09.md
Normal file
@ -0,0 +1,16 @@
|
||||
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
|
Reference in New Issue
Block a user