Terminal blocks structurally associated with plugs or sockets