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,977 of 14,669   
   Martijn Lievaart to Bob   
   Re: send hangs and doesnt return   
   30 Jul 09 05:55:10   
   
   b76f6d87   
   From: m@rtij.nl.invlalid   
      
   On Tue, 28 Jul 2009 23:48:12 -0700, Bob wrote:   
      
   > Im not sure thats the entire issue, but Im wondering why send() didnt   
   > return < 0 like the man page says and set errno for me to detect.  My   
   > code checks the return status for send() and instead the process just   
   > dies.  Im wondering if I need to set the signal to ignore SIGPIPE's?  I   
   > dont know if that will cause send() to return rather than killing the   
   > thread.  Im going to try it, but through Id report what Ive found so   
   > far.   
      
   Actually the man page does talk about SIGPIPE.   
      
   M4   
      
   --- 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