L_DicomSendNonSecureISCL

#include "ltdic.h"

L_LTDIC_API L_INT32 L_DicomSendNonSecureISCL(hNet, pBuffer, nBytes)

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

Parameters

HDICOMNET hNet

Handle to an existing DICOM Network. This is the handle returned from the L_DicomCreateNet function.

L_UCHAR *pBuffer

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

L_UINT32 nBytes

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

Returns

Value Meaning
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

Platforms

Win32, x64.

See Also

Topics

Example

L_INT DicomSendNonSecureISCLExample(L_VOID) 
{ 
   // suppose that pDicomNet is connected with an ISCL server 
  L_UCHAR uBuffer[2]; 
 
  uBuffer[0] = 0; 
 
  uBuffer[1] = 1; 
  HDICOMNET hDicomNet = NULL; 
  //Suppose we have hDicomNet 
  return L_DicomSendNonSecureISCL(hDicomNet, uBuffer, 2); 
} 
Help Version 20.0.2019.9.20
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help