Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

LDicomPrintSCU::SetTimeout

Show in webframe

#include "ltdic.h"

L_VOID LDicomPrintSCU::SetTimeout(uTimeout)

L_UINT16 uTimeout;

/* timeout value */

Sets the timeout value for communicating with the Print SCP.

Parameter

Description

uTimeout

The Timeout value in seconds.

Returns

None

Comments

When a member function of the LDicomPrintSCU class 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 LDicomPrintSCU::Associate, 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

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

Functions:

Class Members

Topics:

Print Management SCU

 

DICOM Print Management Service Class User: Functions

Example

For an example, refer to LDicomPrintSCU::UpdateImageBox.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.