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,022 of 14,669   
   Barry Margolin to David Schwartz   
   Re: shutdown(2) and TCP socket buffers   
   28 Aug 09 21:21:22   
   
   fcf1ba03   
   From: barmar@alum.mit.edu   
      
   In article   
   <7e5228a9-654a-47e8-8cad-9a5664907d79@x5g2000prf.googlegroups.com>,   
    David Schwartz  wrote:   
      
   > On Aug 28, 1:41 pm, Jorgen Grahn  wrote:   
   >   
   > > What is the BSD socket call shutdown(fd, SHUT_RD) supposed to do to   
   > > a TCP socket, really? I have a short program where I do   
   >   
   > Doing a shutdown(SHUT_RD) on a TCP socket is not sensible. You have to   
   > remember, that 'shutdown' is protocol-neutral and is designed to   
   > support protocols that have a meaningful way to shut down the read   
   > end.   
      
   Such as?   
      
   --   
   Barry Margolin, barmar@alum.mit.edu   
   Arlington, MA   
   *** PLEASE don't copy me on replies, I'll read them in the group ***   
      
   --- 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