LDicomNet::GetPeerInfo

Summary

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

Syntax

#include "ltdic.h"

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

Parameters

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 pszAddress string buffer.

L_UINT * pnPort

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

Returns

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

Required DLLs and Libraries

Platforms

Win32, x64

See Also

Functions

Topics

Example

For an example, refer to LDicomNet::OnClose.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 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.