L_DicomSendAssociateAccept

Summary

Sends an Associate Accept message to a connection. This function is available in the PACS Imaging Toolkit.

Syntax

#include "ltdic.h"

L_LTDIC_API L_INT L_DicomSendAssociateAccept(hNet, hPDU)

Parameters

HDICOMNET hNet

A DICOM Network handle. This is the handle created by calling L_DicomCreateNet.

HDICOMPDU hPDU

A DICOM Association handle. This is the handle created by calling L_DicomCreateAssociate.

Returns

Value Meaning
DICOMM_SUCCESS The function was successful.
>0 An error occurred. Refer to Return Codes.

Comments

L_DicomSendAssociateAccept is sent by the SCP in response to an L_DicomSendAssociateRequest call placed by an SCU. It establishes the DICOM Association between an SCU and an SCP and generates a call to RECEIVEASSOCIATEACCEPTCALLBACK 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.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomListen.

Help Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.