# Layer 4 Transport

Last edited: 2024-05-22

Layer 4 Transport

This layer is responsible for getting the data to the right application once we are on the host . It attaches a layer 4 header with the destination and source port . There are two different types of ports .

  • 0-65535 TCP , which favours reliability, or
  • 0-65535 UDP , which favours efficiency.