By condensation of 5-chloronaphthalenesulfonyl chloride (I) with 1,6-diaminohexane (II) in refluxing dioxane