Keep DICOM server opened

Issue

This Content is from Stack Overflow. Question asked by Enoy

and thanks four your time reading, thinking, and answering this question:

We would need to be able to keep out DICOM servers opened. However currently there is a timeout which closes both servers.

We are using the tool called “dcm4che”: https://github.com/dcm4che/dcm4che and more specifically we are using two of its commands:

https://github.com/dcm4che/dcm4che/blob/master/dcm4che-tool/dcm4che-tool-dcmdir/README.md
1º.Initialize a DICOM database in simulator. We will use this database to run queries using DICOM C-FIND commands:

./dcmdir -c ./shared/dicom/CHUIMI/DICOMDIR --fs-id SAMPLEDICOMS --fs-desc ./shared/dicom/CHUIMI/descriptor ./shared/dicom/CHUIMI

https://github.com/dcm4che/dcm4che/blob/master/dcm4che-tool/dcm4che-tool-dcmqrscp/README.md
2ºStart simulated DICOM archive that uses the previous initialized DICOM database for query/retrieve. This will receive C-FIND and C-MOVE commands:

./dcmqrscp --ae-config ./shared/dicom/CHUIMI/ae.properties -b VNAPRE:11110 --dicomdir ./shared/dicom/CHUIMI/DICOMDIR 

How do we make sure that both servers keep the connection active and remove the timeout?

Thanks four your time reading, thinking, and answering this question

We also have read:
https://dicom.nema.org/medical/dicom/current/output/html/part01.html

In addition we have observed that the command “dcmqrscp” shows:

"    --accept-timeout <ms>               timeout in ms for receiving
                                        A-ASSOCIATE-AC, no timeout by
                                        default"

However when we use the terminal included in MobaXterm Personal Edition v20.6 , both servers close connection and stop listening after a certain amount of time.

enter image description here

How could we be able to keep out DICOM servers opened‽

Thanks four your time reading, thinking, and answering this question



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?