Internet, Networking, & Security > Home Networking 171 171 people found this article helpful Data Packets: The Building Blocks of Networks Data packets transmit data over a network By Nadeem Unuth Nadeem Unuth Freelance Contributor University of Mauritius Nadeem Unuth is a former freelance contributor to Lifewire who specializes in information and communication technology with a focus on VoIP. lifewire's editorial guidelines Updated on June 30, 2021 Tweet Share Email Tweet Share Email In This Article Expand Jump to a Section Structure Packets and Protocols Packet Switching Bottom Line A packet is a basic unit of communication over a digital network. It may also be referred to as a datagram, segment, block, cell, or frame, depending on the protocol used for transmission. When data is transmitted, it is broken into similar structures of data before transmission, called packets. The packets are reassembled once they reach the destination. Structure of a Data Packet The structure of a packet depends on the type of packet and protocol. A packet has a header and a payload. The header keeps overhead information about the packet, the service, and other transmission-related data. For example, data transferred over the internet requires breaking down the data into IP packets, which is defined in IP (internet protocol). An IP packet includes: The source IP address: The IP address of the machine sending the data. The destination IP address: The machine or device to which the data is sent. The sequence number: A number that orders the packets in such that they can be faithfully reassembled once arrived. The type of service. Flags. Other technical data. The payload: This is the bulk of the packet (the above is considered overhead) and is the data being carried. Packets and Protocols Packets vary in structure and functionality depending on the protocols that implement the packets. VoIP uses the IP protocol and IP packets. On an Ethernet network, for example, data is transmitted in Ethernet frames. In the IP protocol, the IP packets travel over the internet through nodes, which are devices and routers (technically called nodes in this context) found on the way from the source to the destination. Each packet is routed toward the destination based on its source and destination address. At each node, the router decides which neighboring node would be the most efficient destination, based on calculations involving network statistics and costs. Packet Switching This process is part of packet switching, which flushes the packets on the internet and directs each to find its own way to a destination. The mechanism uses the underlying structure of the internet for free, which is the main reason VoIP and internet calls are free or inexpensive. Contrary to traditional telephony, where a line or circuit between the source and destination must be dedicated and reserved (called circuit switching), packet switching exploits existing networks for free. Another example is the TCP (Transmission Control Protocol), which works with IP in a TCP/IP suite. TCP is responsible for ensuring that data transfer is reliable. To achieve this, it checks whether the packets arrived in order, whether any packets are missing or have been duplicated, and whether there is any delay in packet transmission. It controls this by setting a timeout and signals called acknowledgments. Bottom Line Data travels in packets over digital networks. All of the data—whether it's text, audio, images, or video—come broken down into packets that are reassembled within a network device or computer. This is why, for instance, when a picture loads over a slow connection, chunks of it may appear one at a time. Was this page helpful? Thanks for letting us know! Get the Latest Tech News Delivered Every Day Subscribe Tell us why! Other Not enough details Hard to understand Submit