Making an SCPPool for worklist threads

All other questions regarding DCMTK

Moderator: Moderator Team

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

Making an SCPPool for worklist threads

#1 Post by tiagostein » Mon, 2020-08-10, 20:03

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
Posts: 1280
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany

Re: Making an SCPPool for worklist threads

#2 Post by Marco Eichelberg » Thu, 2020-08-27, 11:55

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: Google [Bot] and 1 guest