Replies: 2 comments
-
I just found this in the source code: So, that means the DicomClient is kind of "single use" and cannot be reused after calling |
Beta Was this translation helpful? Give feedback.
-
when the DicomClient is opening an connection to the server, then one part of this handshake is the AssociationRequest, where the client has to tell the server, which kind of data or requests the client is about to send and the server can response which message are supported and which not. It might work, if you then reuse the instance, add more Requests and then call the SendAsync again, but it is not recomended. If you want to have full control, you should use the AdvancedClient. There you open an association manually and you have to set all the PresentationContexts that you want to send. and then you can send any request that you want in "real time". |
Beta Was this translation helpful? Give feedback.
-
First of all, thanks for your great work on fo-dicom :)
I'm confused about the API semantics of
IDicomClient
. The way I understand is that, you can add multiple requests and then you call Send. My questions are:Thanks, and have a nice day!
Alon
Beta Was this translation helpful? Give feedback.
All reactions