Sends an Associate Accept message to a connection. This function is available in the PACS Imaging Toolkit.
A DICOM Association object. This is the object created by calling LDicomAssociate::LDicomAssociate.
|>0||An error occurred. Refer to Return Codes.|
LDicomNet::SendAssociateAccept is sent by the SCP in response to an LDicomNet::SendAssociateRequest call placed by an SCU. It establishes the DICOM Association between an SCU and an SCP and generates a call to LDicomNet::OnReceiveAssociateAccept on the SCU. The SCU and SCP can now transmit DICOM messages and data.
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