L_DicomGetHostInfo

#include "ltdic.h"

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

Gets the local address and port for the current connection.

Parameters

HDICOMNET hNet

A DICOM Network handle.

L_TCHAR * pszAddress

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

L_UINT32 AddressSizeInWords

Size of the destination pszAddress buffer.

L_UINT * pnPort

Pointer to a variable to be updated with the port of the Host.

Returns

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

Comments

To get information about a peer, use L_DicomGetPeerInfo.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomConnect.

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

LEADTOOLS DICOM C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.