Closes an ISCL connection. This function is available in the PACS Imaging toolkits.
#include "ltdic.h"
L_INT LDicomNet::CloseForced (bForced)
Flag that indicates whether to force the disconnection. Possible values are:
Value | Meaning |
---|---|
TRUE | Kill the connection. (Force the disconnection.) |
FALSE | Request disconnection. The disconnection can be refused by a peer. |
Value | Meaning |
---|---|
DICOM_SUCCESS | Success. |
>0 | An error occurred. Refer to Return Codes. |
When bForced is set to TRUE, the connection is closed immediately. Therefore, it is best to determine if the ISCL message queue is empty before calling this function. To determine whether the ISCL queue is empty, call the LDicomNet::IsISCLQueueEmpty function.
NOTE: LDicomNet::CloseForced (FALSE) is queued in the ISCL message queue. (It will be processed later.) LDicomNet::CloseForced (TRUE) is immediate, however.
Win32, x64
For an example, refer to LDicomNet::SendAbort.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document