LDicomNet::LDicomNet

Summary

Allocates memory for the network structure and sets the site of the temporary files. This function is available in the PACS Imaging Toolkit.

Syntax

#include "ltdic.h"

L_VOID LDicomNet::LDicomNet(pszPath, nMode)

L_VOID LDicomNet::LDicomNet(pszPath, nMode, bReserved)

Parameters

L_TCHAR * pszPath

Character string containing the location of the temporary files. DICOM uses temporary files during the course of creating a file. If this parameter is NULL, the DICOM temporary files are kept in the directory Windows places its own temporary files. If this parameter is not NULL, the temporary files are placed in the specified directory.

L_INT32 nMode

Flag that indicates the security mode to use when initializing the network structure. Possible values are:

Value Meaning
DICOM_SECURE_NONE No security mode.
DICOM_SECURE_ISCL Integrated Secure Communication Layer security mode.
DICOM_SECURE_TLS Transport Layer Security security mode.

L_BOOL bReserved

Reserved for future use. Pass 0.

Returns

None.

Comments

LDicomNet::LDicomNet(pszPath,nMode) Free any allocated memory by calling LDicomNet::~LDicomNet.

To initialize the LEADTOOLS DICOM DLL, call LDicomNet::StartUp.

The LEADTOOLS DICOM DLL must be initialized before using any of the Network operation functions.

If an incorrect value is passed for the nMode parameter, the object will be initialized without using a security mode.

LDicomNet::LDicomNet(pszPath,nMode,bReserved) Use this version of the LDicomNet constructor to modify the default security settings, or to use non-default security settings. As with LDicomNet::LDicomNet(pszPath,nMode), free any allocated memory by calling LDicomNet::~LDicomNet, and initialize the LEADTOOLS DICOM DLL by calling LDicomNet::StartUp. If an incorrect value is passed for the nMode parameter, the object will be initialized without using a security mode. In addition, when using LDicomNet::LDicomNet(pszPath,nMode,bReserved) it is also necessary to call LDicomNet::Initialize. For more information, refer to LDicomNet::Initialize. Note that the following uses of the LDicomNet constructors are functionally equivalent:

1.

LDicomNet \*pNet = new LDicomNet(pszPath, nMode); 

2.

LDicomNet \*pNet = new LDicomNet(pszPath, nMode, 0);   
If (pNet)   
   pNet->Initialize(pszPath, nMode, NULL); 

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomNet::SendCEchoRequest.

Help Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.