LEADTOOLS DICOM C++ Class Library Help > LEADTOOLS DICOM Features > DICOM Communication > Service Class User (SCU) and Service Class Provider (SCP) > Diagram of an SCU-SCP Set-up |
The diagram given below shows a simple example of an SCU-SCP connection and a series of function calls used to transfer messages and data.
SCU |
|
SCP |
|
|
|
Initialize the DICOM DLL. This must be done before calling any DICOM operation functions, but only needs to be called once per application. |
||
Create a DICOM Network object. |
||
|
The SCP listens for incoming connection requests. |
|
--------------------------------------------------> |
||
<-------------------------------------------------- |
||
|
DICOM Network Connection established |
|
--------------------------------------------------> |
||
LDicomNet::OnReceive |
<-------------------------------------------------- |
LDicomNet::SendAssociateAccept |
|
DICOM Associate Connection established |
|
--------------------------------------------------> |
LDicomNet::OnReceive |
|
LDicomNet::OnReceive |
<-------------------------------------------------- |
|
--------------------------------------------------> |
LDicomNet::OnReceive |
|
<-------------------------------------------------- |
||
---------------------------------------------------> |
||
When the DICOM DLL is no longer needed, call this function to shut down the DLL and free all associated memory. This function should be called once for every call to LDicomNet::StartUp. |