Creating an SCU
The following steps provide the basic information required to create an SCU:
Create the DICOM Network handle by calling StartUp method. . This must be done before any DICOM Network Operations functions are called.
To connect to an SCP, call the Connect method. This will generate a NetAccept event on the SCP to let the SCP know that a connection request has been received.
The SCP should respond by calling the Accept method. This will generate a NetConnect event on the SCU. At this time the DICOM Network connection has been established.
Create the DICOM Associate handle by calling the CreateAssociate.
Initialize the newly created DICOM Associate handle by calling DefaultAssociate, or set the new DICOM Associate handle using the following methods:
SetPresentationAbstract method
To connect to an SCP, call the SendAssociateRequest method. This will generate a NetReceiveAssociateRequest event on the SCP to let the SCP know an associate connection request has been received.
The SCP may accept or reject the request and respond by calling SendAssociateAccept method or SendAssociateReject method. This will generate a NetReceiveAssociateAccept event or the NetReceiveAssociateReject event. If the NetReceiveAssociateAccept event is generated, the DICOM Associate Connection has been established.