Available in LEADTOOLS Medical Imaging toolkits.
DICOM Associate Connection: Creating an Associate Connection
L_DicomCreateAssociate
L_DicomDefaultAssociate