L_INT LDicomNet::CloseForced (bForced)
Closes an ISCL connection. This function is available in the PACS Imaging toolkits.
Flag that indicates whether to force the disconnection. Possible values are:
|TRUE||Kill the connection. (Force the disconnection.)|
|FALSE||Request disconnection. The disconnection can be refused by a peer.|
|>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.
Required DLLs and Libraries
For an example, refer to LDicomNet::SendAbort.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries