LDicomNet::OnNonSecureReceivedISCL

#include "ltdic.h"

virtual L_VOID LDicomNet::OnNonSecureReceivedISCL(nError, pBuffer, nLength)

L_UINT32 nError;

/* error code */

L_UCHAR *pBuffer;

/* pointer to a buffer */

L_UINT32 nLength;

/* length of data received */

This function is called after data sent in non-secure mode is received. This function is available in the Medical Suite toolkits.

Parameter

Description

nError

Error code. Refer to Return Codes.

pBuffer

Pointer to a buffer that contains the data that was received from the non-secure send process.

nLength

The length of the received data, in bytes.

Returns

None.

Comments

After data is received in a non-secure send process, this function is called. The data from pBuffer will be freed after this callback function returns.

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

Functions:

LDicomNet::OnNonSecureSendISCL; Class Members

Topics:

Sending and Receiving Messages

 

General Integrated Secure Communication Layer (ISCL) Information

Example

L_VOID LMyDicomNet::OnNonSecureReceivedISCL(L_VOID *pBuffer, L_UINT32 nLength)
{
   UNREFERENCED_PARAMETER(nLength);
   UNREFERENCED_PARAMETER(pBuffer);
   CString strMsg;
   L_UINT lPeerPort;
   L_TCHAR  szPeerAddress[100];
   GetPeerInfo(szPeerAddress, 100, &lPeerPort);
   strMsg.Format(TEXT("*** OnNonSecureReceivedISCL***\nPeer[%s]\n "), szPeerAddress);
   AfxMessageBox(strMsg);
};