Connected: An Internet Encyclopedia
4.1.4 UDP/APPLICATION LAYER INTERFACE

Up: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 1122
Up: 4. TRANSPORT PROTOCOLS
Up: 4.1 USER DATAGRAM PROTOCOL -- UDP
Prev: 4.1.3.6 Invalid Addresses
Next: 4.1.5 UDP REQUIREMENTS SUMMARY

4.1.4 UDP/APPLICATION LAYER INTERFACE

4.1.4 UDP/APPLICATION LAYER INTERFACE

The application interface to UDP MUST provide the full services of the IP/transport interface described in Section 3.4 of this document. Thus, an application using UDP needs the functions of the GET_SRCADDR(), GET_MAXSIZES(), ADVISE_DELIVPROB(), and RECV_ICMP() calls described in Section 3.4. For example, GET_MAXSIZES() can be used to learn the effective maximum UDP maximum datagram size for a particular {interface,remote host,TOS} triplet.

An application-layer program MUST be able to set the TTL and TOS values as well as IP options for sending a UDP datagram, and these values must be passed transparently to the IP layer. UDP MAY pass the received TOS up to the application layer.


Next: 4.1.5 UDP REQUIREMENTS SUMMARY

Connected: An Internet Encyclopedia
4.1.4 UDP/APPLICATION LAYER INTERFACE