Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

LDicomNet::GetServer

Show in webframe

#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.

Returns

The DICOM Network object of the SCP connected to the SCU.

Comments

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

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

See Also

Functions:

LDicomNet::GetClient, LDicomNet::GetClientCount

Topics:

Working with DICOM Network Connections

Example

This example displays the number of clients connected to the some server.

L_INT LDicomNet_GetServerExample(LDicomNet *pNet)
{
   LDicomNet*  pServer;
   L_TCHAR     szText[80];
   pServer = pNet->GetServer();
   wsprintf(szText, TEXT("%u"), pServer->GetClientCount());
   MessageBox(NULL, szText, TEXT("Notice"), MB_OK);
   return DICOM_SUCCESS;
}
Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.