Making an SCPPool for worklist threads

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
tiagostein
Posts: 5
Joined: Thu, 2015-01-15, 15:32

Making an SCPPool for worklist threads

#1 Post by tiagostein »

Hello. I have successfully implemented a server with StoreSCP capability in a SCPPool and implementing the store behavior in the worker threads.

Now I have to impolement worklist SCP support and I am wondering... can I do the same for worklist or are these pools restricted on what SCP I can provide on them? I ask this because I have seen not a single example of SCPPools doing anything other than handling Stores.

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

Re: Making an SCPPool for worklist threads

#2 Post by Marco Eichelberg »

There is no restriction in the SCPPool class that would prevent you from implementing a Worklist SCP. The worklist server in DCMTK is simply much older than the SCPPool class and uses a different mechanism to support multiple clients: I creates a separate process for each incoming network connection, using fork() on Posix operating systems and CreateProcess() on Windows.

Post Reply

Who is online

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