L_DicomSendNonSecureISCL

#include "ltdic.h"

L_LTDIC_API L_INT32 L_DicomSendNonSecureISCL(hNet, pBuffer, nBytes)

HDICOMNET hNet;

/* handle to an existing DICOM Network */

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.

Parameter

Description

hNet

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

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

Topics:

DICOM Net: ISCL connection

 

Sending and Receiving Messages

 

General Integrated Secure Communication Layer (ISCL) Information

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);
}