Use of dcmTCPWrapperDaemonName in DICOMSCP connection

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Raji
Posts: 27
Joined: Fri, 2014-07-04, 07:49

Use of dcmTCPWrapperDaemonName in DICOMSCP connection

#1 Post by Raji »

Hi ,

We are using DCMTK and we find that when we test our SCP with a router setup,the SCP connected very slow.
I see that there are few option provided like dcmTCPWrapperDaemonName.Set(Null) . How to use them ? and whether it will solve the problem ?
OR
in the storescp.cc
if (cmd.findOption("--access-full")) dcmTCPWrapperDaemonName.set(NULL);
if (cmd.findOption("--access-control")) dcmTCPWrapperDaemonName.set(OFFIS_CONSOLE_APPLICATION);

What are these option used for ?

J. Riesmeier
DCMTK Developer
Posts: 2504
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: Use of dcmTCPWrapperDaemonName in DICOMSCP connection

#2 Post by J. Riesmeier »

The TCP wrapper feature has nothing to do with performance (transmission speed) but with access rights.

If the connection to the storage SCP is "slow", you should first try whether the storescp option --disable-host-lookup (-dhl) solves this issue. The same effect can be achieved by setting the global variable "dcmDisableGethostbyaddr" to true:

Code: Select all

/** Global flag to enable/disable reverse DNS lookup when accepting associations.
 *  If disabled, the numerical IP address instead of the symbolic hostname is
 *  stored in the callingPresentationAddress field of the association parameters
 *  structure.  Most DICOM applications (except imagectn) don't need the symbolic
 *  hostname anyway, and the reverse DNS lookup can cause a long timeout.
 */
extern DCMTK_DCMNET_EXPORT OFGlobal<OFBool> dcmDisableGethostbyaddr;   /* default OFFalse */

Post Reply

Who is online

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