GetServer Example for C#
//LEADDICOMNet1 is a predefined LEADDicomNet object
private void LEADDICOMNet1_NetReceiveAssociateRequest_XXX(int
hNet, int hPDU)
{
int hServer = 0;
string szServer = null;
int lPort = 0;
hServer = LEADDICOMNet1.GetServer(hNet);
if (hServer != 0)
{
szServer = LEADDICOMNet1.GetHostAddress(hServer);
lPort = LEADDICOMNet1.GetHostPort(hServer);
MessageBox.Show("Server = " + szServer + " Port = "
+ System.Convert.ToString(lPort));
}
}