Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

LDicomNet::SetMaxMessageLengthISCL

Show in webframe

#include "ltdic.h"

L_UINT32 LDicomNet::SetMaxMessageLengthISCL(nMsgLength)

L_UINT32 nMsgLength;

/* maximum message length */

Sets the maximum message length that can be processed (sent and received) by the current entity. This function is available in the PACS Imaging toolkits.

Parameter

Description

nMsgLength

The maximum message length to set.

Returns

DICOM_SUCCESS

Success. The maximum message length was set using the nMsgLength parameter.

DICOM_ERROR_PARAMETER

An error occurred. This usually occurs if the nMsgLength was smaller than 136. (136 bytes is the maximum size of data in mutual authentication request packet.)

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

See Also

Functions:

LDicomNet::SetDefaultSigningISCL, LDicomNet::SetDefaultEncryptionISCL, LDicomNet::SetAuthDataISCL, LDicomNet::SetMaxCommBlockLengthISCL, LDicomNet::SetMutualAuthAlgISCL, LDicomNet::SetMutualAuthKeyISCL, LDicomNet::SetIndexForMutualAuthISCL, LDicomNet::SetEncryptKeyISCL, LDicomNet::SetIndexForEncryptISCL, Class Members

Topics:

Sending and Receiving Messages

 

General Integrated Secure Communication Layer (ISCL) Information

Example

L_INT LDicomNet_SetMaxMessageLengthISCLExample()
{
   L_INT nRet;
   // LMyDicomNet is derived from LDicomNet
   LMyDicomNet *pDicomNet;
   pDicomNet = new LMyDicomNet(TEXT(""), DICOM_SECURE_ISCL);
   nRet =pDicomNet->SetMaxMessageLengthISCL(1048576);
   if(nRet !=DICOM_SUCCESS)
      return nRet;
   // size of the message accepted
   // is at most 1 MB – or 1048576 bytes
   return DICOM_SUCCESS;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.