The following steps provide the basic information required to create an SCP:
Create the DICOM Network handle by callingL_DicomCreateNet.
Initialize the DICOM Network handle by callingL_DicomStartUp. This must be done before any DICOM Network Operations functions are called. Please note that this only needs to be called once for each application.
CallL_DicomSetCallbackto set the callback functions you wish to use.
To listen for incoming connection requests, callL_DicomListen.
When an SCU wishes to connect to an SCP, the SCU callsL_DicomConnect. This generates a call to theACCEPTCALLBACKfunction on the SCP, to let the SCP know that a connection request has been received.
The SCP should respond by callingL_DicomCreateNet,L_DicomSetCallbackandL_DicomAccept. CallingL_DicomCreateNetandL_DicomSetCallbackcreat a network handle for this specific connection and allows the SCP to maintain information about this connection. CallingL_DicomAcceptwill generate a call to theCONNECTCALLBACKon the SCU. At this time the DICOM Network connection has been established. (An SCP should always accept a connection request. Once the connection is made the SCP can check the SCU and close the connection if it does not wish to maintain it. Since the connection requests are queued, if the connection is not accepted, it remains in the queue. When the next request is received, it is placed in the queue behind the first request. CallingL_DicomAcceptat this point will connect the first request, not the second, since the first request is still in the queue.)
Establish a security layer. For more information on security layers, refer toAdding Security to a DICOM ConnectionandAdding TLS Security to a DICOM Connection.
When an SCU requests a DICOM Associate connection, the SCU callsL_DicomSendAssociateRequest. This generates a call toRECEIVEASSOCIATEREQUESTCALLBACKon the SCP.
When theRECEIVEASSOCIATEREQUESTCALLBACKfunction is called, create the DICOM Associate handle by callingL_DicomCreateAssociate.
Reset the newly created DICOM Associate handle to an Associate Accept by callingL_DicomResetAssociate, or set the new DICOM Associate handle using the following functions:
The DICOM Associate connection request can be accepted or rejected.
To accept the Associate connection request, callL_DicomSendAssociateAccept. This will generate a call to theRECEIVEASSOCIATEACCEPTCALLBACKon the SCU. At this time the DICOM Associate connection has been established.
To reject the Associate connection request, callL_DicomSendAssociateReject. This will generate a call to theRECEIVEASSOCIATEREJECTCALLBACKfunction on the SCU.
Help Collections
Raster.NET|C API|C++ Class Library|HTML5 JavaScript
Document.NET|C API|C++ Class Library|HTML5 JavaScript
Medical.NET|C API|C++ Class Library|HTML5 JavaScript
Medical Web Viewer.NET
188宝金博怎么下载
Media Foundation.NET|C API|Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.