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,671 messages   

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

   Message 13,999 of 14,671   
   Jorgen Grahn to Barry Margolin   
   Re: question on RFC791   
   03 May 13 09:24:36   
   
   From: grahn+nntp@snipabacken.se   
      
   On Fri, 2013-05-03, Barry Margolin wrote:   
   > In article ,   
   >  glen herrmannsfeldt  wrote:   
   >   
   >> Jorgen Grahn  wrote:   
   >> (snip, someone wrote)   
   >>   
   >> >>>> > Does it mean that it's possible to have IP packet carrying UDP   
   >> >>>> > payload of size 0 ?   
   >>   
   >> (snip)   
   >> > And also it should come as no surprise.  It's about as natural as a   
   >> > programming language allowing zero-sized arrays/vectors/lists.   
   >>   
   >> About that natural, but it has been slow in coming.   
   >>   
   >> Fortran now does, but it didn't used to.   
   >>   
   >> Many still don't.   
   >   
   > Many? Examples?   
      
   I guess he meant at least C.  Perhaps it was a bad comparison on my   
   part. It just makes sense to me that when you support size 1--N cases,   
   for symmetry reasons it's a good idea to support size 0 too. The "null"   
   case, so to speak.   
      
   On the other hand, I suppose very few UDP messages with no data are   
   sent in practice.  Higher-level protocols tend to start with   
   fixed-size headers.   
      
   /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