The plug this socket mounts to is part of the fan wiring. It is basically a resistor block with 3 feeds and two outlets to the motor. The socket although female has what looks like male bits as well to which allow the two to couple to give the circuit. I have bench tested the fan with a battery and even bought another unit to confirm that that side of it is good. I will try fitting the secondhand one to see if it seats better than the original.