Refusing Association

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
shahvezakhtar007
Posts: 9
Joined: Tue, 2017-07-04, 09:27

Refusing Association

#1 Post by shahvezakhtar007 »

Hello,

I am doing query retrieve using osirix/horus.
On server side I am using : "cond = ASC_receiveAssociation(theNet, &assoc, (int)options_.maxPDU_);" and I am getting cond.code() = DULC_FORKEDCHILD.
On printing "DimseCondition::dump(temp_str, cond)" it says "0006:0325 New child process started with pid 19000, socketHandle 8".

Please let me know why this is happening.

Thanks and regards,
Shahvez Akhtar

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

Re: Refusing Association

#2 Post by Michael Onken »

Hi,

DCMKT has a fork mode that starts a new process whenever an association is coming in.

The parent process gets initially notified by the network layer that there is a new incoming association waiting. The parent then starts a new child process that handles that association on its own and the parent returns to the listening loop. The result code that the parent uses to denote that a child process is handling the association is the one that you are seeing, DULC_FORKEDCHILD.

Best regards,
Michael

Post Reply

Who is online

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