LDicomNet::GetPeerInfo
#include "ltdic.h"
L_INT LDicomNet::GetPeerInfo(pszAddress, nPort)
L_CHAR * pszAddress; |
/* pointer to an address variable */ |
L_UINT * nPort; |
/* pointer to a port variable */ |
Gets the peer address and port for the current connection. This function is available in the Medical Suite Toolkit.
Parameter |
Description |
pszAddress |
Pointer to a variable to be updated with the IP address of the Peer of the connection. |
nPort |
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 |
See Also
Functions: |
|
Topics: |
Example
For an example, refer to LDicomNet::OnClose.