L_LTDIC_API L_INT L_DicomGetHostInfo(hNet, pszAddress, AddressSizeInWords, pnPort)
Gets the local address and port for the current connection.
A DICOM Network handle.
Pointer to a variable to be updated with the IP address of the Host.
Size of the destination pszAddress buffer.
Pointer to a variable to be updated with the port of the Host.
|DICOM_SUCCESS||The function was successful.|
|>0||An error occurred. Refer to Return Codes.|
To get information about a peer, use L_DicomGetPeerInfo.
Required DLLs and Libraries
Win32, x64, Linux.
For an example, refer to L_DicomConnect.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries