(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.1.2.1 and 1.1.2.2

version 1.1.2.1, 2001/08/01 21:07:09 version 1.1.2.2, 2001/08/01 21:34:56
Line 45 
Line 45 
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
   extern Uint32 _socketInterfaceRefCount = 0;
   
 void Socket::close(Sint32 socket) void Socket::close(Sint32 socket)
 { {
 #ifdef PEGASUS_OS_TYPE_WINDOWS #ifdef PEGASUS_OS_TYPE_WINDOWS
Line 78 
Line 80 
 #endif #endif
 } }
  
 #if 0  void Socket::initializeInterface()
 // ATTN: implement this!  {
 Boolean Socket::getBlocking() const  #ifdef PEGASUS_OS_TYPE_WINDOWS
       if (_socketInterfaceRefCount == 0)
 { {
           WSADATA tmp;
   
           if (WSAStartup(0x202, &tmp) == SOCKET_ERROR)
               WSACleanup();
       }
   
       _socketInterfaceRefCount++;
   #endif
 } }
   
   void Socket::uninitializeInterface()
   {
   #ifdef PEGASUS_OS_TYPE_WINDOWS
       _socketInterfaceRefCount--;
   
       if (_socketInterfaceRefCount == 0)
           WSACleanup();
 #endif #endif
   }
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2