Sets the maximum communication block length that can be sent/received by the current entity.
#include "ltdic.h"
L_LTDIC_API L_UINT32 L_DicomSetMaxCommBlockLengthISCL(hNet, nCommBlockLength)
Handle to an existing DICOM Network. This is the handle returned from the L_DicomCreateNet function.
Size of the communication block length.
Value | Meaning |
---|---|
DICOM_SUCCESS | Success. The maximum communication block length was set. During mutual authentication, the client and server will agree to use the smaller communication block size of the two. |
DICOM_ERROR | An error occurred. This usually occurs if the nCommBlockLength was too small for the maximum standard packet size (168 bytes). Refer to Return Codes. |
An ISCL communication block contains a 32-byte header, followed by data, if data is included.
Please note that the size of the ISCL packets is 32 bytes larger than the communication block length, because of the header.
Win32, x64.
L_INT DicomSetMaxCommBlockLengthISCLExample(L_VOID)
{
L_INT nRet;
HDICOMNET hDicomNet;
hDicomNet = L_DicomCreateNet (TEXT(""), DICOM_SECURE_ISCL);
nRet = L_DicomSetMaxCommBlockLengthISCL(hDicomNet, 8160);
// size of the blocks sent to network layer will be 8192 bytes (a 32-byte header is added)
// other initializations
return nRet;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document