LDicomNet::GetPeerInfo

#include "ltdic.h"

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

Gets the peer 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 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 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