Gets the peer address and port for the current connection. This function is available in the Medical Imaging Suite toolkit.
L_INT LDicomNet::GetPeerInfo(pszAddress, AddressSizeInWords, pnPort)
Pointer to a variable to be updated with the IP address of the Peer of the connection.
Size of the pszAddress string buffer.
Pointer to a variable to be updated with the port of the Peer of the connection.
|>0||An error occurred. Refer to Return Codes.|
For an example, refer to LDicomNet::OnClose.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries