Special plug and socket assembly for flaw detector