Not sure about the class name - perhaps CSocketThreadBase ?