LDicomNet::GetHostInfo

Summary

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

Syntax

#include "ltdic.h"

L_INT LDicomNet::GetHostInfo(pszAddress, AddressSizeInWords, pnPort)

Parameters

L_TCHAR * pszAddress

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

L_UINT32 AddressSizeInWords

size of the pszAddress string buffer.

L_UINT * pnPort

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

Returns

Value Meaning
0 SUCCESS
>0 An error occurred. Refer to Return Codes.

Comments

To get information about a peer, call LDicomNet::GetPeerInfo.

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomNet::OnClose.

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

LEADTOOLS DICOM C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.