This preview shows page 1. Sign up to view the full content.
Unformatted text preview: utes that it learned
about through the other router's broadcasts on the 140.252.1 network. What is this technique
10.6 In Section 3.4 we said there are more than 100 hosts on the 140.252.1 subnet in addition
to the eight routers we show in Figure 10.7. What do these 100 hosts do with the eight
broadcasts that arrive every 30 seconds (Figure 10.8)? file:///D|/Documents%20and%20Settings/bigini/Docu.../homenet2run/tcpip/tcp-ip-illustrated/dynamic.htm (17 of 17) [12/09/2001 14.46.53] Chapter 11. UDP: User Datagram Protocol UDP: User Datagram Protocol
UDP is a simple, datagram-oriented, transport layer protocol: each output operation by a
process produces exactly one UDP datagram, which causes one IP datagram to be sent. This is
different from a stream-oriented protocol such as TCP where the amount of data written by an
application may have little relationship to what actually gets sent in a single IP datagram. Figure
11.1 shows the encapsulation of a UDP datagram as an IP datagram. Figure 11.1 UDP encapsulation.
RFC 768 [Postel 1980] is the official specification of UDP.
UDP provides no reliability: it sends the datagrams that the application writes to the IP layer,
but there is no guarantee that they ever reach their destination. Given this lack of reliability, we
are tempted to think we should avoid UDP and always use a reliable protocol such as TCP.
After we describe TCP in Chapter 17 we'll return to this topic and see what types of
applications can utilize UDP.
The application needs to worry about the size of the resulting IP datagram. If it exceeds the
network's MTU (Section 2.8), the IP datagram is fragmented. This applies to each network that
the datagram traverses from the source to the destination, not just the first network connected to
the sending host. (We defined this as the path MTU in Section 2.9.) We examine IP
fragmentation in Section 11.5. 11.2 UDP Header
Figure 11.2 shows the fields in the UDP header. file:///D|/Documents%20and%20Se...
View Full Document
This test prep was uploaded on 04/04/2014 for the course ECE EL5373 taught by Professor Guoyang during the Spring '12 term at NYU Poly.
- Spring '12