L_DicomGetPeerInfo

#include "ltdic.h"

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

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

Parameters

HDICOMNET hNet

A DICOM Network handle.

L_TCHAR * pszAddress

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

L_UINT32 AddressSizeInWords

Size of the destination pszAddress buffer.

L_UINT * pnPort

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

Returns

Value Meaning
DICOM_SUCCESS The function was successful.
>0 An error occurred. Refer to Return Codes.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomConnect.

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help