I try to set a time out for a Dicom connection. I set a time out when initializing my network with
Code: Select all
ASC_initializeNetwork( NET_REQUESTOR, mHostPort,
mInitializationTimeOut, &mpNet);
When I go down to the dcmtk code, I noticed that when it's time to request an association for TCP, it uses a global value:
Code: Select all
requestAssociationTCP()
...
// get global connection timeout
Sint32 connectTimeout = dcmConnectionTimeout.get();
Did I understand something wrong?
Should I set the global variable dcmConnectionTimeout to the value I want instead of setting my T_ASC_Network?