Transport layer
OSI model <ul><li>Transport layer
Interface to applications using socket
Interface to host-to-host packets </li></ul>
Sockets and the magic portal <ul><li>Sockets are your friend
Hides the network issues
Data stream just arrives as streams </li></ul>
Transport layer (sending)
Transport layer (receiving)
Problems <ul><li>No delivery guarantee </li><ul><li>Lost segments?
Out-of-order segments? </li></ul></ul>
Protocols <ul><li>UDP </li><ul><li>Simple, fast, unreliable </li></ul><li>TCP </li><ul><li>Complex, slow, reliable. </li><...
Upcoming SlideShare
Loading in …5
×

ITET1 Routing Transport layer.odp

437 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
437
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
16
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

ITET1 Routing Transport layer.odp

  1. 1. Transport layer
  2. 2. OSI model <ul><li>Transport layer
  3. 3. Interface to applications using socket
  4. 4. Interface to host-to-host packets </li></ul>
  5. 5. Sockets and the magic portal <ul><li>Sockets are your friend
  6. 6. Hides the network issues
  7. 7. Data stream just arrives as streams </li></ul>
  8. 8. Transport layer (sending)
  9. 9. Transport layer (receiving)
  10. 10. Problems <ul><li>No delivery guarantee </li><ul><li>Lost segments?
  11. 11. Out-of-order segments? </li></ul></ul>
  12. 12. Protocols <ul><li>UDP </li><ul><li>Simple, fast, unreliable </li></ul><li>TCP </li><ul><li>Complex, slow, reliable. </li></ul><li>Others exists </li></ul>
  13. 13. UDP <ul><li>Connectionless </li><ul><li>No feedback on send data. </li></ul><li>Simple checksum verification
  14. 14. Used by </li><ul><li>DNS, skype, SNMP, </li></ul></ul>
  15. 15. TCP <ul><li>“Data received” acknowledgement
  16. 16. Order ensured
  17. 17. Packets are resend on failure
  18. 18. Advanced features like congestion control. </li></ul>
  19. 19. TCP sending data
  20. 20. TCP - handshakes Initial handshake Closing handshake
  21. 21. Wireshark exercises <ul><li>Dissect and understand a DNS request/response
  22. 22. Dissect and understand a simple http request </li></ul>

×