L_DicomSendNonSecureISCL

#include "ltdic.h"

L_INT32 EXT_FUNCTION L_DicomSendNonSecureISCL(hNet, pBuffer, nLength)

HDICOMNET hNet;

/* handle to an existing DICOM Network */

L_CHAR *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 Medical Suite toolkits.

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

See Also

Topics:

DICOM Net: ISCL connection

 

Sending and Receiving Messages

 

General Integrated Secure Communication Layer (ISCL) Information

Example

{
   // suppose that pDicomNet is connected with an ISCL server
   HDICOMNET hDicomNet;
    L_DicomSendNonSecureISCL(hDicomNet, "Test ISCL", 10);
}