A connector is constructed to reduce a risk of malfunction or impairment of the connector due to the entrance of dust and/or external matter thereinto. The entrance of external matters into a receptacle 13 is prevented because an opening 16 of the receptacle 13 is normally kept closed by a cover 21 biased by a spring member 28. The cover 21 is temporarily opened against the biasing force of the spring member 28 during the insertion and withdrawal of the female connector housing 30.