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,940 of 14,669   
   Rick Jones to All   
   Re: send() crash   
   16 Feb 13 01:30:07   
   
   From: rick.jones2@hp.com   
      
   > Sadly, requests can span multiple calls to recv(), but I can call   
   > read() and store any read characters to be consumed when the recv()   
   > call occurs. Basically, all read data is buffered, then parsed when   
   > a complete request arrives.   
      
   When I was saying "read return of zero" I was using read in the   
   general sense.  Any of the "read" calls - read(), recv(), recvfrom(),   
   recvmsg() ... should return zero when the FIN has arrived from the   
   remote.   
      
   rick jones   
   --   
   oxymoron n, commuter in a gas-guzzling luxury SUV with an American flag   
   these opinions are mine, all mine; HP might not want them anyway... :)   
   feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...   
      
   --- 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