storescp and multiple connections

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
cpisto
Posts: 1
Joined: Sat, 2005-02-05, 02:22

storescp and multiple connections

#1 Post by cpisto » Sat, 2005-02-05, 02:25

After a brief look at the storescp code, I do not see that it forks or uses threads to handle multiple network connections, is this correct?

If so, can storescp be run via inetd or some similar multiplexer so that it may handle multiple connections?

Thanks in advance

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier » Mon, 2005-02-07, 14:21

Your observation is correct: "storescp" does not support multiple associations (in contrast to "imagectn").

And to your second question: No, unfortunately, "storescp" cannot be run via (x)inetd - at least not without some modifications. This is because "storescp" does not expect to get an open socket when it is called.

harald
Posts: 4
Joined: Fri, 2004-12-10, 19:49
Location: Germany, Bochum
Contact:

imagectn and (x)inetd

#3 Post by harald » Thu, 2005-08-25, 16:06

Jörg Riesmeier wrote:Your observation is correct: "storescp" does not support multiple associations (in contrast to "imagectn").
And to your second question: No, unfortunately, "storescp" cannot be run via (x)inetd - at least not without some modifications. This is because "storescp" does not expect to get an open socket when it is called.
And what about imagectn? Can imagectn be started by (x)inetd?

Thank you

jsalk
DCMTK Tester
Posts: 13
Joined: Thu, 2004-11-25, 15:59

Re: imagectn and (x)inetd

#4 Post by jsalk » Fri, 2005-08-26, 09:43

harald wrote:
And what about imagectn? Can imagectn be started by (x)inetd?
No. :(

viewtopic.php?t=76

Best regards - Juergen

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

#5 Post by Marco Eichelberg » Fri, 2005-08-26, 12:58

Some time ago we have received patches of a developer who has managed to get storescp working from inetd, and I hope we'll be able to include that into the next release (DCMTK 3.5.4). Don't ask me for a publication date, though.

Post Reply

Who is online

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