From: grahn+nntp@snipabacken.se   
      
   On Wed, 2013-05-01, Martijn Lievaart wrote:   
   > On Wed, 01 May 2013 11:15:19 -0400, Barry Margolin wrote:   
   >   
   >> In article ,   
   >> Martijn Lievaart wrote:   
   >>   
   >>> On Tue, 30 Apr 2013 11:25:51 -0400, Mark wrote:   
   >>>   
   >>> > Hi All,   
   >>> >   
   >>> > Reading RFC791:   
   >>> > "Every internet module must be able to forward a datagram of 68   
   >>> > octets without further fragmentation. This is because an internet   
   >>> > header may be up to 60 octets, and the minimum fragment is 8 octets."   
   >>> >   
   >>> > Does it mean that it's possible to have IP packet carrying UDP   
   >>> > payload of size 0 ?   
   ...   
   > You're correct, you cannot conclude UDP allows a 0 byte payload from the   
   > text above. However, UDP does allow for a 0 byte payload.   
      
   And also it should come as no surprise. It's about as natural as a   
   programming language allowing zero-sized arrays/vectors/lists.   
      
    I once helped implement a proprietary protocol which (among other   
    things) allowed transmitting arrays of N data items. It didn't   
    support N==0. When I asked, the designer said "well, if you want   
    to send 0 items, just don't send anything!". I think he saw the   
    assymetry in the end, because he allowed me to implement the   
    missing edge case.   
      
   /Jorgen   
      
   --   
    // Jorgen Grahn O o .   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|