source/Socket.cpp
xiSocket::~xiSocket() {
#if defined( __WIN_API__ )
	if ( --winsockReferenceCount == 0 ) {
		WSACleanup(); // Destroy winsock
	}
#endif
}
/*
====================
xiSocket::~xiSocket

	Deconstructor
	If winsock is in use, the reference count of Winsock is decremented
	When the reference hits 0, winsock is stopped
====================
*/
:~xiSocket
Deconstructor
If winsock is in use, the reference count of Winsock is decremented
When the reference hits 0, winsock is stopped
: ~xiSocket Deconstructor If winsock is in use the reference count of Winsock is decremented When the reference hits 0 winsock is stopped
xiSocket::~xiSocket() {
#if defined( __WIN_API__ )
	if ( --winsockReferenceCount == 0 ) {
		WSACleanup(); 
	}
#endif
}
xiSocket :: ~ xiSocket ( ) { #if defined ( __WIN_API__ ) if ( -- winsockReferenceCount == 0 ) { WSACleanup ( ) ; } #endif }
xiSocket::~xiSocket
Deconstructor
If winsock is in use, the reference count of Winsock is decremented
When the reference hits 0, winsock is stopped
xiSocket :: ~xiSocket Deconstructor If winsock is in use the reference count of Winsock is decremented When the reference hits 0 winsock is stopped
// Destroy winsock