/[resiprocate]/main/rutil/Socket.cxx
ViewVC logotype

Diff of /main/rutil/Socket.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 11234 by sgodin, Sun Feb 23 21:41:59 2014 UTC revision 11235 by dpocock, Mon Sep 15 17:20:11 2014 UTC
# Line 62  Line 62 
62    
63    
64    
65    bool
66    configureConnectedSocket(Socket fd)
67    {
68    #ifdef REQUIRE_SO_NOSIGPIPE
69       int on = 1;
70       if ( ::setsockopt ( fd, SOL_SOCKET, SO_NOSIGPIPE, (const char*)&on, sizeof(on)) )
71       {
72          int e = getErrno();
73          ErrorLog (<< "Couldn't set sockoption SO_NOSIGPIPE: " << strerror(e));
74          error(e);
75          return false;
76       }
77    #endif
78       return true;
79    }
80    
81    
82    
83  void  void
84  resip::initNetwork()  resip::initNetwork()
85  {  {

Legend:
Removed from v.11234  
changed lines
  Added in v.11235

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27