#include "ltdic.h"
L_INT LDicomNet::GetHostInfo(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 local 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 Host. |
AddressSizeInWords |
size of the pszAddress string buffer. |
pnPort |
Pointer to a variable to be updated with the port of the Host. |
0 |
SUCCESS |
>0 |
An error occurred. Refer to Return Codes. |
To get information about a peer, use LDicomNet::GetPeerInfo.
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 |
Win32, x64
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET