(file) Return to Socket.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/Socket.cpp between version 1.39 and 1.39.2.1

version 1.39, 2010/10/13 13:46:26 version 1.39.2.1, 2013/06/03 22:35:13
Line 314 
Line 314 
    int opt = 1;    int opt = 1;
    setsockopt(socket, IPPROTO_TCP, TCP_NODELAY, (char*)&opt, sizeof(opt));    setsockopt(socket, IPPROTO_TCP, TCP_NODELAY, (char*)&opt, sizeof(opt));
 } }
 //------------------------------------------------------------------------------  
 //  #ifdef PEGASUS_OS_ZOS
 // _setInformIfNewTCPIP()  
 //  
 //------------------------------------------------------------------------------  
 inline void _setInformIfNewTCPIP(SocketHandle socket) inline void _setInformIfNewTCPIP(SocketHandle socket)
 { {
 #ifdef PEGASUS_OS_ZOS  
    // This function enables the notification of the CIM Server that a new    // This function enables the notification of the CIM Server that a new
    // TCPIP transport layer is active. This is needed to be aware of a    // TCPIP transport layer is active. This is needed to be aware of a
    // restart of the transport layer. When this option is in effect,    // restart of the transport layer. When this option is in effect,
Line 335 
Line 331 
        SO_EioIfNewTP,        SO_EioIfNewTP,
        (char*)&NewTcpipOn,        (char*)&NewTcpipOn,
        sizeof(NewTcpipOn));        sizeof(NewTcpipOn));
 #endif  
 } }
   #else
   inline void _setInformIfNewTCPIP(SocketHandle)
   {
   }
   #endif
  
  
 SocketHandle Socket::createSocket(int domain, int type, int protocol) SocketHandle Socket::createSocket(int domain, int type, int protocol)
Line 348 
Line 348 
         return socket(domain,type,protocol);         return socket(domain,type,protocol);
     }     }
  
   #ifdef PEGASUS_OS_ZOS
     bool sendTcpipMsg = true;     bool sendTcpipMsg = true;
   #endif
  
     while (1)     while (1)
     {     {


Legend:
Removed from v.1.39  
changed lines
  Added in v.1.39.2.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2