Professional Documents
Culture Documents
In the other direction, the TCP layer receives a segment from the IP layer,
strips the TCP header, and passes the segment to the port specified in the
TCP header.
A simpler alternative to TCP is the User Datagram Protocol (UDP). Like a
TCP segment, a UDP datagram has a header, followed by a data portion
that contains the application data. UDP includes fields for specifying ports
and optional error-checking, but no support for flow control. Windows and
many development kits for embedded systems include support for UDP.
Chapter 5 has more about TCP and UDP.
In some networks, communications may skip the TCP/UDP layer entirely.
For example, a local network of embedded systems may have no need for
Application Data
UDP Header
UDP
Datagram
Application Data
TCP Header
TCP