home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.protocols.tcp-ip      TCP and IP network protocols.      14,669 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 13,998 of 14,669   
   Jorgen Grahn to Martijn Lievaart   
   Re: question on RFC791   
   02 May 13 21:23:07   
   
   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)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca