A female connector comprises an insulating body having a socket inside and a rib positioned along a long direction of the socket. A gap is formed on the socket opposite to that rib, and a slot is positioned under the gap. A plurality of electrical leads protrude out of the insulating body. A metal housing enclosing the insulating body has a discontinuous portion. The discontinuous portion has a latch disposed on a first end of the discontinuous portion and a wing extending and inwardly hooking from a second end of said discontinuous portion. The latch is inserted into and engages with the slot.