Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Working with DICOM Network Connections

The DICOM Communication Protocol outlines the requirements for transferring DICOM data and messages across an associated network connection. For more information about the DICOM Communication Protocol, refer to LEADTOOLS DICOM Network Communication Support for Message Exchange, or the DICOM Standard.

In order to transfer DICOM data and messages from one Application Entity (AE) to another, a network connection must be established. Once this connection has been established, the connection must be associated (also referred to as establishing an Associate connection). When the Associate connection has been established, then DICOM data and messages can be transferred between AEs.

AEs can have the role of Service Class Provider (SCP), Service Class User (SCU), or both. An SCU makes requests for data or services, and may also receive data. An SCP listens for incoming connection requests from SCUs. Once these connections are established (and an associate connection created), the SCP processes requests and provides data or services requested by SCUs.

In this documentation the basic network connection will be referred to as a DICOM Network connection or a DICOM Network. Information concerning a DICOM Network connection will be maintained in and accessed through a DICOM Network object.

When creating either an SCU or an SCP application, a DICOM Network connection (a DICOM network object) must be created. In addition, for every connection request accepted by an SCP, the SCP must create a DICOM Network object in which to maintain information about that specific SCU-SCP connection.

LEADTOOLS provides a number of class members for creating and initializing a DICOM Network and for transferring DICOM data and messages.

For creating a DICOM Network connection, use the following methods:

DicomNet.Startup

DicomNet.Initialize

DicomNet.Connect

DicomNet.Listen

DicomNet.Accept

DicomNet.OnAccept

DicomNet.OnConnect

When a DICOM Network connection is no longer needed, it should be closed. The following methods may be used in closing the DICOM Network connection:

DicomNet.Shutdown

DicomNet.Close

DicomNet.OnClose

LEADTOOLS provides methods for sending DICOM messages. These include both low-level and high-level methods. The message sending methods can be divided into two groups.

For sending DICOM Connection messages, including messages used in establishing a DICOM Associate connection, use the following:

DicomNet.SendAssociateRequest

DicomNet.SendAssociateAccept

DicomNet.SendAssociateReject

DicomNet.SendData

DicomNet.SendReleaseRequest

DicomNet.SendReleaseResponse

DicomNet.SendAbort

DicomNet.OnReceiveAssociateRequest

DicomNet.OnReceiveAssociateAccept

DicomNet.OnReceiveAssociateReject

DicomNet.OnReceiveReleaseRequest

DicomNet.OnReceiveReleaseResponse

DicomNet.OnReceiveAbort

DicomNet.OnSend

For sending data messages, LEADTOOLS provides the following methods:

DicomNet.SendCStoreRequest

DicomNet.SendCStoreResponse

DicomNet.SendCFindRequest

DicomNet.SendCFindResponse

DicomNet.SendCGetRequest

DicomNet.SendCGetResponse

DicomNet.SendCMoveRequest

DicomNet.SendCMoveResponse

DicomNet.SendCCancelRequest

DicomNet.SendCEchoRequest

DicomNet.SendCEchoResponse

DicomNet.SendNReportRequest

DicomNet.SendNReportResponse

DicomNet.SendNGetRequest

DicomNet.SendNGetResponse

DicomNet.SendNSetRequest

DicomNet.SendNSetResponse

DicomNet.SendNActionRequest

DicomNet.SendNActionResponse

DicomNet.SendNCreateRequest

DicomNet.SendNCreateResponse

DicomNet.SendNDeleteRequest

DicomNet.SendNDeleteResponse

DicomNet.OnReceiveCStoreRequest

DicomNet.OnReceiveCStoreResponse

DicomNet.OnReceiveCFindRequest

DicomNet.OnReceiveCFindResponse

DicomNet.OnReceiveCGetRequest

DicomNet.OnReceiveCGetResponse

DicomNet.OnReceiveCMoveRequest

DicomNet.OnReceiveCMoveResponse

DicomNet.OnReceiveCCancelRequest

DicomNet.OnReceiveCEchoRequest

DicomNet.OnReceiveCEchoResponse

DicomNet.OnReceiveNReportRequest

DicomNet.OnReceiveNReportResponse

DicomNet.OnReceiveNGetRequest

DicomNet.OnReceiveNGetResponse

DicomNet.OnReceiveNSetRequest

DicomNet.OnReceiveNSetResponse

DicomNet.OnReceiveNActionRequest

DicomNet.ONReceiveNActionResponse

DicomNet.OnReceiveNCreateRequest

DicomNet.OnReceiveNCreateResponse

DicomNet.OnReceiveNDeleteRequest

DicomNet.OnReceiveNDeleteResponse

DicomNet.OnreceiveUnknown

Finally, you can retrieve information about a DICOM Network connection using these methods:

DicomNet.IsActivated

DicomNet.IsAssociated

DicomNet.IsConnected

DicomNet.GetQueueSend

DicomNet.GetServer

DicomNet.GetClient

DicomNet.GetClientCount

DicomNet.Connect

DicomNet.Association

For more information about the DICOM Associate connection, refer to Working with DICOM Associate Connections.