NetReceiveAssociateAccept Example for C++ 6.0 and later
void CDicomNetSink::OnNetReceiveAssociateAccept (long hNet, long hPDU)
{
//Client receives this event
CString strMsg;
strMsg.Format("*** NetReceiveAssociateAccept Event ***\nIsAssociated[%d]",m_pDlg->m_pLEADDicomNet->IsAssociated (hNet));
AfxMessageBox(strMsg);
}