Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS DICOM C++ Class Library Help

LDicomNet::GetPeerInfo

Show in webframe

#include "ltdic.h"

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

L_TCHAR * pszAddress;

/* pointer to an address variable */

L_UINT32 AddressSizeInWords;

/* size of the destination string buffer */

L_UINT * pnPort;

/* pointer to a port variable */

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

Parameter

Description

pszAddress

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

AddressSizeInWords

Size of the pszAddress string buffer.

pnPort

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

Returns

0

SUCCESS

>0

An error occurred. Refer to Return Codes.

Required DLLs and Libraries

LTDIC

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

Platforms

Win32, x64

See Also

Functions:

LDicomNet::GetHostInfo

Topics:

Working with DICOM Network Connections

Example

For an example, refer to LDicomNet::OnClose.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.