L_LTDIC_API L_INT L_DicomGetPeerInfo(hNet, pszAddress, AddressSizeInWords, pnPort)
Gets the peer address and port for the current connection. This function is available in the Medical Suite Toolkit.
A DICOM Network handle.
Pointer to a variable to be updated with the IP address of the Peer of the connection.
Size of the destination pszAddress buffer.
Pointer to a variable to be updated with the port of the Peer of the connection.
|DICOM_SUCCESS||The function was successful.|
|>0||An error occurred. Refer to Return Codes.|
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