vs_integration/src/SocketConnection.cpp
//-----------------------------------------------------------------------------
// This private function will remove client descriptor (socket) to the clients
// linked list.
//-----------------------------------------------------------------------------
This private function will remove client descriptor (socket) to the clients
linked list.
This private function will remove client descriptor ( socket ) to the clients linked list .
void SocketConnection::RemoveClient(int socket) {
    POSITION pos = m_Clients.Find(socket);
	if(pos!=NULL) {
		int socket = m_Clients.GetAt(pos);
		closesocket(socket);
		m_Clients.RemoveAt(pos);
    }
}
void SocketConnection :: RemoveClient ( int socket ) { POSITION pos = m_Clients . Find ( socket ) ; if ( pos != NULL ) { int socket = m_Clients . GetAt ( pos ) ; closesocket ( socket ) ; m_Clients . RemoveAt ( pos ) ; } }
This private function will remove client descriptor (socket) to the clients
linked list.
This private function will remove client descriptor ( socket ) to the clients linked list .