Sends an Associate Request message to a connection. This function is available in the Medical Imaging Suite Toolkit.
A DICOM Association object. This is the object created by calling LDicomAssociate::LDicomAssociate.
|>0||An error occurred. Refer to Return Codes.|
Calling LDicomNet::SendAssociateRequest generates a call to LDicomNet::OnReceiveAssociateRequest on the server. Within the callback function the server may accept or reject the Association request by calling LDicomNet::SendAssociateAccept or LDicomNet::SendAssociateReject.
A DICOM Association must be established between an SCU and an SCP before any DICOM messages or data can be transmitted between them. For more information on creating a DICOM Association, refer to Creating a DICOM Associate Connection.
When the DICOM Association is no longer needed, it should be ended. For more information, refer to Closing a DICOM Association.
For an example, refer to LDicomNet::SendCEchoRequest.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries