Leadtools.Dicom Namespace > DicomNet Class : ServerClose Method |
public void ServerClose()
'Declaration Public Sub ServerClose()
'Usage Dim instance As DicomNet instance.ServerClose()
public void ServerClose()
function Leadtools.Dicom.DicomNet.ServerClose()
public: void ServerClose();
This method should only be called from the server DicomNet, and not the client DicomNet.
This sends a message to the listening server that the client connection is closed.
The connection is not actually closed until the server DicomNet receives the OnClose.
This is used in a multi-threaded environment to close the connection with the client in a thread-safe way.