L_DicomGetPeerInfo

#include "ltdic.h"

L_LTDIC_API L_INT L_DicomGetPeerInfo(hNet, pszAddress, AddressSizeInWords, pnPort)

HDICOMNET hNet;

a DICOM Network handle

L_TCHAR * pszAddress;

pointer to an address variable

L_UINT32 AddressSizeInWords;

size of the destination string buffer

L_UINT * pnPort;

pointer to a port variable

Gets the peer address and port for the current connection. This function is available in the Medical SuiteToolkit.

Parameter

Description

hNet

A DICOM Network handle.

pszAddress

Pointer to a variable to be updated with the IP address of the Peer of the connection.

AddressSizeInWords

Size of the destination pszAddress buffer.

pnPort

Pointer to a variable to be updated with the port of the Peer of the connection.

Returns

DICOM_SUCCESS

The function was successful.

>0

An error occurred. Refer to Return Codes.

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, Linux.

See Also

Functions:

L_DicomGetHostInfo

Topics:

Working with DICOM Network Connections

Example

For an example, refer to L_DicomConnect.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS DICOM C API Help