LDicomNet::SendAssociateAccept

#include "ltdic.h"

L_INT LDicomNet::SendAssociateAccept(pPDU)

LDicomAssociate * pPDU;

/* a DICOM Association object */

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

Parameter

Description

pPDU

A DICOM Association object. This is the object created by calling LDicomAssociate::LDicomAssociate.

Returns

0

SUCCESS

>0

An error occurred. Refer to Return Codes.

Comments

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.

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

See Also

Functions:

LDicomNet::OnReceiveAssociateAccept, LDicomAssociate::LDicomAssociate, LDicomNet::SendAssociateRequest, LDicomNet::SendAssociateReject, LDicomNet::SendReleaseRequest

Topics:

Working with DICOM Network Connections

 

Working with DICOM Associate Connections

 

Creating a DICOM Associate Connection

 

Creating an SCP

 

Diagram of a Basic Client-Server Set-Up

 

Sending Messages

Example

For an example, refer to LDicomNet::OnReceiveAssociateRequest.