Abstract: An electrical plug and socket connector comprises a multi-pole plug assembly and a multi-pole socket assembly each composed of a plurality of plug and socket units, respectively. Each individual unit has two receptacles to receive pins which, depending on their arrangement in the receptacles of the individual units, serve as latching pins to hold the plug and socket assemblies together, or as coding pins to prevent incorrect connections. Any desired pattern of latching pins and coding pins in any desired number of plug and socket units can easily be provided by assembly of individual plug and socket units and pins.