L_DicomGetClient

#include "ltdic.h"

L_LTDIC_API HDICOMNET L_DicomGetClient(hNet, nIndex)

HDICOMNET hNet;

/* a DICOM Network handle of the server */

L_UINT nIndex;

/* index of the client to get */

Returns the DICOM Network handle of the client at the specified index. This function is available in the Medical Suite Toolkit.

Parameter

Description

hNet

A DICOM Network handle of the server. This is the handle returned from the L_DicomCreateNet function.

nIndex

Index of the client to retrieve. The maximum number of clients allowed is set in L_DicomListen. This index is zero based.

Returns

The DICOM Network handle of the client at the specified index.

Comments

This function is only valid when called by a server. If this function is called by a client, it 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

See Also

Functions:

L_DicomGetClientCount, L_DicomGetServer

Topics:

Working with DICOM Network Connections

Example

For an example, refer to L_DicomListen.