LDicomNet::GetHostInfo

#include "ltdic.h"

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

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

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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C++ Class Library Help