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 12,882 of 14,669   
   Jorgen Grahn to Philip Paeps   
   Re: what is the correct payload size   
   27 May 09 12:29:35   
   
   From: grahn+nntp@snipabacken.se   
      
   On 27 May 2009 09:36:08 GMT, Philip Paeps  wrote:   
   > dbtouch  wrote:   
   ...   
   >> 1. How to set the length of the datagram correctly?   
   >   
   > If you're using a raw socket and including the IP header, you will need to   
   set   
   > the the total length field to the length of the header plus the length of any   
   > data and options.   
      
   Unless the stack does it for you, as Linux raw(7) seems to indicate.   
   But I agree with you about everything else, so I don't feel compelled   
   to RTFM in detail ...   
      
   /Jorgen   
      
   --   
     // Jorgen Grahn           R'lyeh wgah'nagl fhtagn!   
      
   --- 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