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,186 of 14,669   
   Jorgen Grahn to Philip Paeps   
   Re: Find out number bytes available in t   
   15 Nov 09 16:42:39   
   
   From: grahn+nntp@snipabacken.se   
      
   On Sun, 2009-11-15, Philip Paeps wrote:   
   > Andre  wrote:   
   >> Is there a way to find out the number of bytes available for reading   
   >> in the receive buffer without reading it? If so, where can I find more   
   >> information about it?   
   >   
   > Perhaps the MSG_PEEK flag is what you're looking for?   
      
   The FIODREAD ioctl seems to be a better match.   
      
   But I suspect it's usually the wrong question. What does the poster   
   want to use it for?   
      
   /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