LDicomNet::SendNonSecureISCL

#include "ltdic.h"

L_INT32 LDicomNet::SendNonSecureISCL(pBuffer, nBytes)

L_UCHAR *pBuffer;

pointer to a buffer

L_UINT32 nBytes;

length of data to be sent

Send the data in pBuffer over an ISCL connection, unsecured. This data is not encrypted and the message has no authentication code. This function is available in the PACS Imaging toolkits.

Parameter

Description

pBuffer

Pointer to a buffer that contains the data to be sent.

nBytes

Size, in bytes, of the data to be sent.

Returns

DICOM_SUCCESS

Success. The data was dispatched to the ISCL network level.

DICOM_ERROR_MEMORY

An error occurred. Refer to Return Codes.

Comments

The non-secure send is the fastest method of transmitting data over an ISCL connection. It is faster than the normal send/receive process and has no encryption and no message authentication codes.

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::OnNonSecureSendISCL; Class Members

Topics:

Sending and Receiving Messages

 

General Integrated Secure Communication Layer (ISCL) Information

Example

L_INT LDicomNet_SendNonSecureISCLExample(LMyDicomNet* m_pDicomNet) 
{ 
   L_INT nRet; 
   // LMyDicomNet is derived from LDicomNet 
   // suppose that pDicomNet is connected with an ISCL server 
   LMyDicomNet *pDicomNet; 
   pDicomNet = m_pDicomNet; 
   nRet = pDicomNet->SendNonSecureISCL(NULL, 0); 
   if(nRet != DICOM_SUCCESS) 
      return nRet; 
   return DICOM_SUCCESS; 
} 

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS DICOM C++ Class Library Help