Canceling C-STORE
Moderator: Moderator Team
Canceling C-STORE
Is there are way to cancel DIMSE_storeUser()? If sending take a long time and a user want to cancel it or close the application, how do I make DIMSE_storeUser return? If that's not possible, is there an alternative way to do C-STORE SCU which will allow this?
-
- DCMTK Developer
- Posts: 2049
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: Canceling C-STORE
Hi,
if the sending is very slow but is actually taking place (i.e. the receiver reads data packages but only very slow) then I do not see a way to cancel the transfer. You must do that yourself, e.g. by running the transfer in a separate thread or process. The code is not in DCMTK (however, a thread abstraction "OFThread" exists).
Best,
Michael
if the sending is very slow but is actually taking place (i.e. the receiver reads data packages but only very slow) then I do not see a way to cancel the transfer. You must do that yourself, e.g. by running the transfer in a separate thread or process. The code is not in DCMTK (however, a thread abstraction "OFThread" exists).
Best,
Michael
Re: Canceling C-STORE
Understood. Thanks for the reply!
Who is online
Users browsing this forum: No registered users and 1 guest