LDicomNet::OnNonSecureSendISCL

#include "ltdic.h"

virtual L_VOID LDicomNet::OnNonSecureSendISCL(nError, nType, nLength)

This function is called after data has been sent using the LDicomNet::SendNonSecureISCL function. This function is available in the PACS Imaging toolkits.

Parameters

L_INT nError

Error code. Refer to Return Codes.

L_UCHAR nType

Type of data transmitted. This can be either the first byte of the DICOM message or 0, if it cannot be identified.

L_UINT32 nLength

The length of the sent data, in bytes.

Returns

None.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

L_VOID    LMyDicomNet::OnNonSecureSendISCL(L_INT nError, L_UCHAR nType, L_UINT32 nLength) 
{ 
   UNREFERENCED_PARAMETER(nLength); 
   UNREFERENCED_PARAMETER(nType); 
 
   if(nError == DICOM_SUCCESS) 
   { 
      AfxMessageBox(TEXT("Data sent successfully")); 
   } 
   else 
   { 
      CString strTmp, strErrorCode; 
      if(nError == DICOM_ERROR_MEMORY) 
         strErrorCode = TEXT("Memory allocation error"); 
      else 
         strErrorCode = TEXT("Unknown error"); 
      strTmp.Format(TEXT("Error during sending data, code = %s, explanation is %s"), nError, strErrorCode); 
      AfxMessageBox(strTmp); 
   } 
 
}; 
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.