Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Types and Methods of Transmission

Packet structure

  • A data packet is a small part of a message/data that is transmitted over a network; after transmission, all the data packets are reassembled to form the original message/data.
  • A packet of data contains a:
    • header, which contains the:
      • IP address of the sending and receiving device
      • sequence number of the packet, to ensure that all the packets can be reassembled into the correct order once they reach the destination
      • packet size, to ensure the receiving station can check if all packets have arrived intact.
    • payload, consisting of the actual data being sent in the packet
    • trailer, containing:
      • a way to identify the end of packet (essential to allow each packet to be separated from each other as they travel to receiving station)
      • an error checking method; cyclic redundancy checks, where all the 1-bits in the data packet payload are added and the total is stored in the packet trailer; the same calculation is repeated at the receiving station

Packet switching

  • Packet switching is a method of transmission in which a message is broken into many data packets which can then be sent along pathways independently of each other.
    • As these packets are sent from the sender to receiver, there are several possible routes for the packets. Each stage in the route contains a router.
    • A router is a device that enables data packets to be moved between different networks. They control the route a packet takes.
  • Packets may arrive out of order. Once the last packet has arrived, packets are reordered.

Benefits

  • It’s possible to overcome failed/busy/faulty lines by simply re-routing packets.
  • A high data transmission rate is possible.
  • It’s relatively easy to expand package usage.
  • There is no need to tie up a single communication line.

Drawbacks

  • Packets can be lost and need to be re-sent.
  • The method is more prone to errors with real-time streaming.
    • Real-time streaming is the transmission of data over a network for live events where the data is sent as soon as it is received/generated.

Lost packets

  • Packets get lost because they keep bouncing around from router to router and never actually reach their destination. The amount of lost packets mount up and can clog the system. Hopping prevents this.
  • A hop number is a number in a data packet header used to stop data packets that never reach their destination from clogging up the routes.