Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

LDicomNet::SendAssociateAccept

Show in webframe

#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

Platforms

Win32, x64

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.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.