home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / ien / ien-88 < prev    next >
Text File  |  1988-12-02  |  5KB  |  217 lines

  1.  
  2.  
  3.  
  4. IEN 88
  5.                                     
  6.                                     
  7.                                     
  8.                                     
  9.                                     
  10.                                     
  11.                          User Datagram Protocol
  12.                                     
  13.                                     
  14.                                     
  15.                                     
  16.                                     
  17.                                     
  18.                            Jonathan B. Postel
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.                                2 May 1979
  34.  
  35.  
  36.  
  37.  
  38.                      Information Sciences Institute
  39.                    University of Southern California
  40.                            4676 Admiralty Way
  41.                    Marina del Rey, California  90291
  42.  
  43.                              (213) 822-1511
  44.  
  45. IEN-88                                                         J. Postel
  46.                                                                      ISI
  47.                                                               2 May 1979
  48.  
  49.  
  50.  
  51.                          User Datagram Protocol
  52.                          ----------------------
  53.  
  54. Introduction
  55. ------------
  56.  
  57. This User Datagram Protocol is defined to make available a datagram mode
  58. of packet-switched  computer  communication  in the  environment  of  an
  59. interconnected set of computer networks.  This protocol assumes that the
  60. Internet Protocol (IN) [1] is used as the underlying protocol.
  61.  
  62. This protocol  provides  a procedure  for application  programs  to send
  63. messages  to other programs  with a minimum  of protocol mechanism.  The
  64. messages  delivery  is unordered and unreliable.  Applications requiring
  65. ordered reliable delivery of streams of data should use the Transmission
  66. Control Protocol (TCP) [2].
  67.  
  68. Format
  69. ------
  70.  
  71.                                     
  72.                     0            15 16           31  
  73.                    +---------------+---------------+ 
  74.                    !   Source      !  Destination  ! 
  75.                    !    Port       !     Port      ! 
  76.                    +---------------+---------------+ 
  77.                    !               !               ! 
  78.                    !   Length      !    Checksum   ! 
  79.                    +---------------+---------------+ 
  80.                    !                                 
  81.                    !    data octets .....            
  82.                    +------------ ...                 
  83.  
  84.                       User Datagram Header Format
  85.  
  86. Fields
  87. ------
  88.  
  89. Source Port is an optional field, when meaningful, it indicates the port
  90. of the sending  process,  and may be assumed  to be the port  to which a
  91. reply should  be addressed  in the absence of any other information.  If
  92. not used, a value of zero is inserted.
  93.  
  94. Destination  Port has a meaning  within  the  context  of  a  particular
  95. internet destination address.
  96.  
  97.  
  98.  
  99. Postel                                                          [page 1]
  100.  
  101.  
  102.                                                               2 May 1979
  103. User Datagram Protocol                                            IEN-88
  104. Fields
  105.  
  106.  
  107.  
  108. Length  is the length  in octets  of this user datagram  including  this
  109. header  and the data.   (This  means  the minimum value of the length is
  110. four.)
  111.  
  112. Checksum  is the 16-bit  one's complement of the one's complement sum of
  113. the source  address  and destination  address  fields  from the internet
  114. header, the fields above, and the data, padded with zero octets at the
  115. end to make a multiple of two octets.
  116.  
  117. If the computed  checksum  is zero,  it is transmitted  as all ones (the
  118. equivalent  in one's complement  arithmetic).   An all zero  transmitted
  119. checksum  value means that the transmitter  generated  no checksum  (for
  120. debugging or for higher level protocols that don't care).
  121.  
  122. User Interface
  123. --------------
  124.  
  125. A user interface should allow
  126.  
  127.   the creation of new receive ports,
  128.  
  129.   receive  operations  on the receive  ports that return the data octets
  130.   and an indication of source port, if any,
  131.  
  132.   and an operation  that allows  a datagram  to be sent,  specifying the
  133.   data and source port to be sent.
  134.  
  135. Protocol Application
  136. --------------------
  137.  
  138. The major use of this protocol is the Internet Name Server [3].
  139.  
  140. Protocol Number
  141. ---------------
  142.  
  143. This is protocol  17 (21 octal)  when used  in  the  Internet  Protocol.
  144. Other protocol numbers are listed in [4].
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157. [page 2]                                                          Postel
  158.  
  159.  
  160. 2 May 1979
  161. IEN-88                                            User Datagram Protocol
  162.                                                               References
  163.  
  164.  
  165.  
  166. References
  167. ----------
  168.  
  169. [1]     Postel,  J.,  "Internet Datagram Protocol -- Version 4," IEN-80,
  170.         USC-Information Sciences Institute, February 1979.
  171.  
  172. [2]     Postel,   J.,  "Transmission  Control  Protocol  --  Version 4,"
  173.         IEN-81, USC-Information Sciences Institute, February 1979.
  174.  
  175. [3]     Postel,  J.,  "Internet  Name Server,"  USC-Information Sciences
  176.         Institute, IEN-89, May 1979.
  177.  
  178. [4]     Postel,   J.,   "Assigned   Numbers,"  USC-Information  Sciences
  179.         Institute, RFC-755, IEN-93, May 1979.
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215. Postel                                                          [page 3]
  216.  
  217.