L_DicomPrintSCUSetTimeout

Syntax

#include "ltdic.h"

L_LTDIC_API L_VOID L_DicomPrintSCUSetTimeout(hPrintSCU, uTimeout)

Parameters

HDICOMPRINTSCU hPrintSCU

A handle to Dicom Print SCU.

L_UINT16 uTimeout

The timeout value in seconds.

Returns

None.

Comments

When any function related to Print SCU sends a request to the Print SCP, it waits a specific amount of time for the Print SCP response. If this amount of time has elapsed before the response is received, the function will return with an error code of DICOM_ERROR_PRINTSCU_TIME_OUT. Use the function SetTimeout to set this timeout value. If the value specified is 0, the functions will wait for the Print SCP response indefinitely.

For the function L_DicomPrintSCUAssociate, the connection must be established and the Print SCP response to the Association request must be received within the amount of time specified.

If this function is not used to set the timeout value, a default value of 30 seconds will be used.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Topics

Example

For an example, refer to L_DicomPrintSCUUpdateImageBox.

Help Version 23.0.2024.7.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.