home bbs files messages ]

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

   alt.os.development      Operating system development chatter      4,255 messages   

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

   Message 2,856 of 4,255   
   mutazilah@gmail.com to Scott Lurndal   
   Re: news galore   
   12 Oct 21 16:22:49   
   
   From: muta...@gmail.com   
      
   On Wednesday, October 13, 2021 at 9:39:35 AM UTC+11, Scott Lurndal wrote:   
      
   > >BTW, another thing I will need to do (I think) is to setvbuf   
   > >the COM1 stream to make it unbuffered.   
      
   > The NNTP protocol is line oriented, so a line-buffered stream   
   > is just fine.   
      
   Even assuming ASCII, and even assuming LF endings,   
   what is the interaction here? Ultimately the C library is   
   going to do some sort of read() call on the UART/TCPIP   
   stream. It needs to know to return immediately, not wait   
   for a fixed-length buffer to be filled.   
      
   How can that be done other than insisting on a read of   
   length 1, and how can that be done other than switching   
   off buffering with setvbuf?   
      
   Thanks. Paul.   
      
   --- 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