Networking layer 4 notes
a dev diary update
Transport layer notes
Transport layer supports more of the
"Session layer" is mixed as "layer 5"
Transport and Session layer.
Conceptual.
Exist between two different layers.
Problems with layer 3:
- Communicate
Network connection
IP cannot guarantee packet order every packet is different unit of data routed accross unit
What happens to one packet might happen different for another packet.
Think back to structure of ip packet. Source and destination field. They're all the same. Cannot
So far:
LAYER 4: TCP and UDP run on top of IP
- Reliability, slower,
- TCP is a connection oriented protocol. Connection between two devices. Bidirectional connection between devices
- UDP is less reliable. Fast and less reliable
- sequence number
- acknowledgement
LAYER 3 NETWORK (IP PACKETs)
- pieces of data routed from source to destination
- [[networking-layer]]
LAYER 2: DATA Layer
LAYER 2: Physical Layer
![[transport-layer 2024-12-26 15.49.35.excalidraw]]
Segments dont have src and dst ip's. The packets provide device addressing.
![[transport-layer 2024-12-26 16.31.06.excalidraw]]