#include "ltdic.h"
LDicomNet *LDicomNet::GetServer(L_VOID)
Returns the DICOM Network object of the SCP. This function is available in the Medical Imaging Suite Toolkit.
The DICOM Network object of the SCP connected to the SCU.
The object returned is valid only if the calling object is an SCU. If the calling object is an SCP, this function will return NULL.
Required DLLs and Libraries
Win32, x64
This example displays the number of clients connected to the some server.
L_INT LDicomNet_GetServerExample(LDicomNet *pNet)
{
L_TCHAR szText[200] = {0};
LDicomNet* pServer = pNet->GetServer();
if (pServer != NULL)
{
wsprintf(szText, TEXT("%u"), pServer->GetClientCount());
OutputDebugString(szText);
}
return DICOM_SUCCESS;
}
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