Synthesis of dithiocarbamates from vinyl sulfones/sulfoxides and the corresponding polymers with a dithiocarbamate backbone using divinyl sulfone and diamines is reported.