Questions about timeouts.

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
JustSomeGuy
Posts: 51
Joined: Tue, 2007-08-07, 19:31

Questions about timeouts.

#1 Post by JustSomeGuy » Tue, 2018-10-09, 22:24

Going through the DICOM spec I see that there is a timeout that can be set in the DICOM state machine called ARTIM
Association Request/Reject/Release Timer

Is this the same as the time between a tcp/ip connect and an in incoming association_rq
Is this the time between the association_rq and the accept / reject (as the name implies)

given that there may be multiple transactions on an association is there a notion of a separated timeout for each asynch operation?

Is this related to the time between a c-find-rq and a corresponding c-find-rsp or are there individual timeouts per transaction?

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1225
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

Re: Questions about timeouts.

#2 Post by Marco Eichelberg » Sun, 2018-11-25, 11:46

The ARTIM timer is described in detail in DICOM part 9 and only handles very specific timeout conditions:
  • A network connection was received but no A-ASSOCIATE-RQ was received before the ARTIM timer expires
  • An association was rejected (A-ASSOCIATE-RQ) and the remote side has not closed the connection before the ARTIM timer expires
  • An association was aborted (A-ABORT) and the remote side has not closed the connection before the ARTIM timer expires
  • An association was released (A-RELEASE-RQ and A-RELEASE-RSP) and the side requesting the release has not closed the connection before the ARTIM timer expires
In summary, these are all conditions either before or after a valid DICOM association exists, and an expiration of the timer always leads to the TCP transport connection being closed.
This timeout occurs on the level of a DICOM network association (TCP transport connection) and not on the level of DICOM network transactions.
There are many other possible timeouts (such as between C-FIND-RQ and C-FIND-RSP as you describe), but none of these are standardized by DICOM, only ARTIM is.

Michael Onken
DCMTK Developer
Posts: 1706
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: Questions about timeouts.

#3 Post by Michael Onken » Wed, 2018-12-05, 14:46

For the record: I think Marco refers to part 8 (instead of 9) and bullet 2 relates to A-ASSOCIATE-RJ (instead of A-ASSOCIATE-RQ).

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot] and 1 guest